forked from OSchip/llvm-project
[TableGen] Move the ConversionRow vector into the ConversionTable instead of copying.
llvm-svn: 245190
This commit is contained in:
parent
bb70d751de
commit
c4de7ee73d
|
@ -1974,7 +1974,7 @@ static void emitConvertFuncs(CodeGenTarget &Target, StringRef ClassName,
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// Add the row to the table.
|
// Add the row to the table.
|
||||||
ConversionTable.push_back(ConversionRow);
|
ConversionTable.push_back(std::move(ConversionRow));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Finish up the converter driver function.
|
// Finish up the converter driver function.
|
||||||
|
|
Loading…
Reference in New Issue