diff options
author | Chris Lattner <sabre@nondot.org> | 2008-06-16 19:48:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-06-16 19:48:08 +0000 |
commit | 849dcd928a58290447a710b856bdd487aac44d24 (patch) | |
tree | 29fd569baf05bf4cb449552b577c725242e5a4ca /lib/Linker | |
parent | 31ec841be1f51a60f5b655aa2a008eb68e48c07a (diff) | |
download | external_llvm-849dcd928a58290447a710b856bdd487aac44d24.zip external_llvm-849dcd928a58290447a710b856bdd487aac44d24.tar.gz external_llvm-849dcd928a58290447a710b856bdd487aac44d24.tar.bz2 |
Apply a patch from Nathan Keynes, which speeds up llvm-link on
the testcases in PR1860 from taking more than 1 hour (when I killed it)
to taking 1s.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52347 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Linker')
-rw-r--r-- | lib/Linker/LinkModules.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Linker/LinkModules.cpp b/lib/Linker/LinkModules.cpp index 14fe995..64c0032 100644 --- a/lib/Linker/LinkModules.cpp +++ b/lib/Linker/LinkModules.cpp @@ -156,7 +156,6 @@ static bool RecursiveResolveTypesI(const PATypeHolder &DestTy, RecursiveResolveTypesI(cast<PointerType>(DestTy.get())->getElementType(), cast<PointerType>(SrcTy.get())->getElementType(), Pointers); - Pointers.pop_back(); return Result; } } |