[llvm-commits] CVS: llvm/lib/VMCore/SymbolTable.cpp

Chris Lattner lattner at cs.uiuc.edu
Thu Sep 4 18:39:01 PDT 2003


Changes in directory llvm/lib/VMCore:

SymbolTable.cpp updated: 1.32 -> 1.33

---
Log message:

This is now unnecessary


---
Diffs of the changes:

Index: llvm/lib/VMCore/SymbolTable.cpp
diff -u llvm/lib/VMCore/SymbolTable.cpp:1.32 llvm/lib/VMCore/SymbolTable.cpp:1.33
--- llvm/lib/VMCore/SymbolTable.cpp:1.32	Fri Aug 29 00:11:34 2003
+++ llvm/lib/VMCore/SymbolTable.cpp	Thu Sep  4 18:38:22 2003
@@ -192,9 +192,6 @@
 // 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);





More information about the llvm-commits mailing list