projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8c9e6a
)
Use a reference. Don't make a useless copy of the vector.
author
Bill Wendling
<isanbard@gmail.com>
Thu, 23 Jun 2011 07:55:41 +0000
(07:55 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Thu, 23 Jun 2011 07:55:41 +0000
(07:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133707
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/MC/MCDwarf.cpp
patch
|
blob
|
history
diff --git
a/lib/MC/MCDwarf.cpp
b/lib/MC/MCDwarf.cpp
index a35506bacc663ecce5775b491070eff952e04333..d232d84cc36129adfefb52634f6a8ff89d6ac7b2 100644
(file)
--- a/
lib/MC/MCDwarf.cpp
+++ b/
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) {