From 849dcd928a58290447a710b856bdd487aac44d24 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 16 Jun 2008 19:48:08 +0000 Subject: [PATCH] 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 --- lib/Linker/LinkModules.cpp | 1 - 1 file changed, 1 deletion(-) 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; } }