Use a reference. Don't make a useless copy of the vector.

llvm-svn: 133707
This commit is contained in:
Bill Wendling 2011-06-23 07:55:41 +00:00
parent a4b9d1f97b
commit 25fbb92320
1 changed files with 1 additions and 1 deletions

View File

@ -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) {