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 | 57dba1cf53c87709cbb2839809f6cfa897fac047 (patch) | |
tree | 084225b6f9ad028688d047c505875a5fc6ffc127 /lib/CodeGen/AsmPrinter/DwarfException.cpp | |
parent | 6945ef380c5222a3289ced0905f3027409e79ea3 (diff) |
Reference the personalities. Don't copy them into a new vector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109966 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfException.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfException.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfException.cpp b/lib/CodeGen/AsmPrinter/DwarfException.cpp index c87284083c..86a368831e 100644 --- a/lib/CodeGen/AsmPrinter/DwarfException.cpp +++ b/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); |