mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 23:48:56 +00:00
Use a reference. Don't make a useless copy of the vector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133707 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a8c9e6a943
commit
5b46e8e6b8
@ -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
Block a user