This is now unnecessary
authorChris Lattner <sabre@nondot.org>
Thu, 4 Sep 2003 23:38:22 +0000 (23:38 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 4 Sep 2003 23:38:22 +0000 (23:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8347 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/SymbolTable.cpp

index 5a365dd330d480ad958453d828518421b3dfbd8e..ac69f522686bec811748078c85d37923a322464b 100644 (file)
@@ -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);