[llvm-commits] [llvm] r109966 - /llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp
Bill Wendling
isanbard at gmail.com
Sat Jul 31 18:34:21 PDT 2010
Author: void
Date: Sat Jul 31 20:34:21 2010
New Revision: 109966
URL: http://llvm.org/viewvc/llvm-project?rev=109966&view=rev
Log:
Reference the personalities. Don't copy them into a new vector.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp?rev=109966&r1=109965&r2=109966&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp Sat Jul 31 20:34:21 2010
@@ -894,7 +894,7 @@
if (!shouldEmitMovesModule && !shouldEmitTableModule)
return;
- const std::vector<const Function *> Personalities = MMI->getPersonalities();
+ const std::vector<const Function*> &Personalities = MMI->getPersonalities();
for (unsigned I = 0, E = Personalities.size(); I < E; ++I)
EmitCIE(Personalities[I], I);
More information about the llvm-commits
mailing list