commit | c37ae28d939b603d176688e2bc256bde1bb1790c | [log] [tgz] |
---|---|---|
author | David Blaikie <dblaikie@gmail.com> | Mon Apr 21 22:35:11 2014 +0000 |
committer | David Blaikie <dblaikie@gmail.com> | Mon Apr 21 22:35:11 2014 +0000 |
tree | c5fe70a51f5aac40b408cd5444b82188b6778d18 | |
parent | 32eba65e0cfb13fbf54c6df38047fb5db23a5466 [diff] |
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