Store State objects by value in TableGen's DFAPacketizerEmitter
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 21 Apr 2014 22:35:11 +0000 (22:35 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 21 Apr 2014 22:35:11 +0000 (22:35 +0000)
commitc37ae28d939b603d176688e2bc256bde1bb1790c
treec5fe70a51f5aac40b408cd5444b82188b6778d18
parent32eba65e0cfb13fbf54c6df38047fb5db23a5466
Store State objects by value in TableGen's DFAPacketizerEmitter

Removes some extra manual dynamic memory allocation/management. It does
get a bit quirky having to make State's members mutable and
pointers/references to const rather than non-const, but that's a
necessary workaround to dealing with the std::set elements.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206807 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/DFAPacketizerEmitter.cpp