mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Move a vector instead of copying it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222779 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
690b96281f
commit
72f7001944
@ -350,7 +350,7 @@ void AsmWriterEmitter::EmitPrintInstruction(raw_ostream &O) {
|
||||
// in the opcode-indexed table.
|
||||
unsigned BitsLeft = 64-AsmStrBits;
|
||||
|
||||
std::vector<std::vector<std::string> > TableDrivenOperandPrinters;
|
||||
std::vector<std::vector<std::string>> TableDrivenOperandPrinters;
|
||||
|
||||
while (1) {
|
||||
std::vector<std::string> UniqueOperandCommands;
|
||||
@ -393,7 +393,7 @@ void AsmWriterEmitter::EmitPrintInstruction(raw_ostream &O) {
|
||||
}
|
||||
|
||||
// Remember the handlers for this set of operands.
|
||||
TableDrivenOperandPrinters.push_back(UniqueOperandCommands);
|
||||
TableDrivenOperandPrinters.push_back(std::move(UniqueOperandCommands));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user