From 8cb74995ccc99b3e8eef158704eab32c535eefcd 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. llvm-svn: 52347 --- llvm/lib/Linker/LinkModules.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp index 14fe9959db80..64c00327f290 100644 --- a/llvm/lib/Linker/LinkModules.cpp +++ b/llvm/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; } } -- GitLab