projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21b0266
)
[TableGen] Move the ConversionRow vector into the ConversionTable instead of copying.
author
Craig Topper
<craig.topper@gmail.com>
Sun, 16 Aug 2015 21:27:08 +0000
(21:27 +0000)
committer
Craig Topper
<craig.topper@gmail.com>
Sun, 16 Aug 2015 21:27:08 +0000
(21:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245190
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/AsmMatcherEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/AsmMatcherEmitter.cpp
b/utils/TableGen/AsmMatcherEmitter.cpp
index 8403aa56556aeccdcce4ca5f6e38f5bfdf8ba5ad..30dbb11b62ac21ef57d68e4b261bdc2eef18fab3 100644
(file)
--- a/
utils/TableGen/AsmMatcherEmitter.cpp
+++ b/
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.