aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/SymbolTable.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-04 23:38:22 +0000
committerChris Lattner <sabre@nondot.org>2003-09-04 23:38:22 +0000
commitc34c13245aaee69efe3db85c51bcb53f6a30be1c (patch)
treee865eeb3db5f05aade24477ed628026722b80459 /lib/VMCore/SymbolTable.cpp
parent9ad671d54092464b0f385aa5447711eeaf03b17e (diff)
downloadexternal_llvm-c34c13245aaee69efe3db85c51bcb53f6a30be1c.zip
external_llvm-c34c13245aaee69efe3db85c51bcb53f6a30be1c.tar.gz
external_llvm-c34c13245aaee69efe3db85c51bcb53f6a30be1c.tar.bz2
This is now unnecessary
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8347 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/SymbolTable.cpp')
-rw-r--r--lib/VMCore/SymbolTable.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/VMCore/SymbolTable.cpp b/lib/VMCore/SymbolTable.cpp
index 5a365dd..ac69f52 100644
--- a/lib/VMCore/SymbolTable.cpp
+++ b/lib/VMCore/SymbolTable.cpp
@@ -192,9 +192,6 @@ void SymbolTable::insertEntry(const std::string &Name, const Type *VTy,
// This function is called when one of the types in the type plane are refined
void SymbolTable::refineAbstractType(const DerivedType *OldType,
const Type *NewType) {
- if (OldType == NewType && OldType->isAbstract())
- return; // Noop, don't waste time dinking around
-
// Search to see if we have any values of the type oldtype. If so, we need to
// move them into the newtype plane...
iterator TPI = find(OldType);