summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-06-16 19:48:08 +0000
committerChris Lattner <sabre@nondot.org>2008-06-16 19:48:08 +0000
commit8cb74995ccc99b3e8eef158704eab32c535eefcd (patch)
tree256a41ce5274e8f0325af5d4852f54292c83de03 /llvm
parent951bc67096b9e5ec5d63d0829b75f363ef11f23c (diff)
downloadbcm5719-llvm-8cb74995ccc99b3e8eef158704eab32c535eefcd.tar.gz
bcm5719-llvm-8cb74995ccc99b3e8eef158704eab32c535eefcd.zip
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
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Linker/LinkModules.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp
index 14fe9959db8..64c00327f29 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<PointerType>(DestTy.get())->getElementType(),
cast<PointerType>(SrcTy.get())->getElementType(),
Pointers);
- Pointers.pop_back();
return Result;
}
}
OpenPOWER on IntegriCloud