diff options
author | Dylan Noblesmith <nobled@dreamwidth.org> | 2014-08-24 19:10:57 +0000 |
---|---|---|
committer | Dylan Noblesmith <nobled@dreamwidth.org> | 2014-08-24 19:10:57 +0000 |
commit | 085fc4d6c679055fc603650e7d29579b262e11a8 (patch) | |
tree | ec1e4b67bdf444fbc43f0718fa96c0313ecd8777 /llvm/utils/TableGen/PseudoLoweringEmitter.cpp | |
parent | aa9b74c5447382b1f57d06604a4993b2b0e78486 (diff) | |
download | bcm5719-llvm-085fc4d6c679055fc603650e7d29579b262e11a8.tar.gz bcm5719-llvm-085fc4d6c679055fc603650e7d29579b262e11a8.zip |
TableGen: unique_ptr-ify RecordKeeper
llvm-svn: 216350
Diffstat (limited to 'llvm/utils/TableGen/PseudoLoweringEmitter.cpp')
-rw-r--r-- | llvm/utils/TableGen/PseudoLoweringEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/PseudoLoweringEmitter.cpp b/llvm/utils/TableGen/PseudoLoweringEmitter.cpp index e8933b4fac4..ebb43f06526 100644 --- a/llvm/utils/TableGen/PseudoLoweringEmitter.cpp +++ b/llvm/utils/TableGen/PseudoLoweringEmitter.cpp @@ -280,7 +280,7 @@ void PseudoLoweringEmitter::run(raw_ostream &o) { for (const auto &D : Records.getDefs()) { if (D.second->isSubClassOf(ExpansionClass) && D.second->isSubClassOf(InstructionClass)) - Insts.push_back(D.second); + Insts.push_back(D.second.get()); } // Process the pseudo expansion definitions, validating them as we do so. |