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 | 4b3eb330a0dfae55c07e0ded7a309d01d2e69285 (patch) | |
| tree | 084225b6f9ad028688d047c505875a5fc6ffc127 /lib | |
| parent | d06e095c409d44c342ee444cc66235aa17df4cca (diff) | |
| download | external_llvm-4b3eb330a0dfae55c07e0ded7a309d01d2e69285.zip external_llvm-4b3eb330a0dfae55c07e0ded7a309d01d2e69285.tar.gz external_llvm-4b3eb330a0dfae55c07e0ded7a309d01d2e69285.tar.bz2 | |
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')
| -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 c872840..86a3688 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); |
