diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-08-01 01:34:21 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-08-01 01:34:21 +0000 |
commit | d9900542a6d730a44d8f9551f270b43378104f34 (patch) | |
tree | 1667aa7d4c0e876a562fb56603651aaf8bd6f960 /llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp | |
parent | a755f0f74a2ca77a3b39410723be3eb7e7cc25af (diff) | |
download | bcm5719-llvm-d9900542a6d730a44d8f9551f270b43378104f34.tar.gz bcm5719-llvm-d9900542a6d730a44d8f9551f270b43378104f34.zip |
Reference the personalities. Don't copy them into a new vector.
llvm-svn: 109966
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp index c87284083cd..86a368831e0 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp @@ -894,7 +894,7 @@ void DwarfException::EndModule() { 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); |