From: Chris Lattner Date: Mon, 16 Jun 2008 19:48:08 +0000 (+0000) Subject: Apply a patch from Nathan Keynes, which speeds up llvm-link on X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=849dcd928a58290447a710b856bdd487aac44d24;p=oota-llvm.git 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 --- diff --git a/lib/Linker/LinkModules.cpp b/lib/Linker/LinkModules.cpp index 14fe9959db8..64c00327f29 100644 --- a/lib/Linker/LinkModules.cpp +++ b/lib/Linker/LinkModules.cpp @@ -156,7 +156,6 @@ static bool RecursiveResolveTypesI(const PATypeHolder &DestTy, RecursiveResolveTypesI(cast(DestTy.get())->getElementType(), cast(SrcTy.get())->getElementType(), Pointers); - Pointers.pop_back(); return Result; } }