diff options
| author | Bill Wendling <isanbard@gmail.com> | 2011-06-23 07:55:41 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2011-06-23 07:55:41 +0000 |
| commit | 25fbb92320fac0a9982d03cc1b00973440d4d475 (patch) | |
| tree | ff2f86a89c693c685f35040e0dd1e3aca5e3f64a /llvm/lib | |
| parent | a4b9d1f97bdc2fbfcce793da324c1897775bdaaa (diff) | |
| download | bcm5719-llvm-25fbb92320fac0a9982d03cc1b00973440d4d475.tar.gz bcm5719-llvm-25fbb92320fac0a9982d03cc1b00973440d4d475.zip | |
Use a reference. Don't make a useless copy of the vector.
llvm-svn: 133707
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/MC/MCDwarf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCDwarf.cpp b/llvm/lib/MC/MCDwarf.cpp index a35506bacc6..d232d84cc36 100644 --- a/llvm/lib/MC/MCDwarf.cpp +++ b/llvm/lib/MC/MCDwarf.cpp @@ -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) { |

