From c4de7ee73d2e8a985e975a89de09feb84d5752a9 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Sun, 16 Aug 2015 21:27:08 +0000 Subject: [TableGen] Move the ConversionRow vector into the ConversionTable instead of copying. llvm-svn: 245190 --- llvm/utils/TableGen/AsmMatcherEmitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/utils/TableGen') diff --git a/llvm/utils/TableGen/AsmMatcherEmitter.cpp b/llvm/utils/TableGen/AsmMatcherEmitter.cpp index 8403aa56556..30dbb11b62a 100644 --- a/llvm/utils/TableGen/AsmMatcherEmitter.cpp +++ b/llvm/utils/TableGen/AsmMatcherEmitter.cpp @@ -1974,7 +1974,7 @@ static void emitConvertFuncs(CodeGenTarget &Target, StringRef ClassName, continue; // Add the row to the table. - ConversionTable.push_back(ConversionRow); + ConversionTable.push_back(std::move(ConversionRow)); } // Finish up the converter driver function. -- cgit v1.2.3