forked from OSchip/llvm-project
Use a reference. Don't make a useless copy of the vector.
llvm-svn: 133707
This commit is contained in:
parent
a4b9d1f97b
commit
25fbb92320
|
@ -759,7 +759,7 @@ const MCSymbol &FrameEmitterImpl::EmitCIE(MCStreamer &streamer,
|
|||
|
||||
// Initial Instructions
|
||||
|
||||
const std::vector<MachineMove> Moves = asmInfo.getInitialFrameState();
|
||||
const std::vector<MachineMove> &Moves = asmInfo.getInitialFrameState();
|
||||
std::vector<MCCFIInstruction> Instructions;
|
||||
|
||||
for (int i = 0, n = Moves.size(); i != n; ++i) {
|
||||
|
|
Loading…
Reference in New Issue