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

Chris Lattner lattner at cs.uiuc.edu
Fri Oct 3 13:41:10 PDT 2003


Changes in directory llvm/lib/VMCore:

Constants.cpp updated: 1.53 -> 1.54

---
Log message:

These methods are dead, remove them.  Because the bodies will soon be 
ressurected, just ifdef them out for now.


---
Diffs of the changes:

Index: llvm/lib/VMCore/Constants.cpp
diff -u llvm/lib/VMCore/Constants.cpp:1.53 llvm/lib/VMCore/Constants.cpp:1.54
--- llvm/lib/VMCore/Constants.cpp:1.53	Thu Oct  2 14:44:40 2003
+++ llvm/lib/VMCore/Constants.cpp	Fri Oct  3 13:39:57 2003
@@ -576,6 +576,7 @@
   destroyConstantImpl();
 }
 
+#if 0
 /// refineAbstractType - If this callback is invoked, then this constant is of a
 /// derived type, change all users to use a concrete constant of the new type.
 ///
@@ -593,7 +594,7 @@
     destroyConstant();    // This constant is now dead, destroy it.
   }
 }
-
+#endif
 
 // ConstantArray::get(const string&) - Return an array that is initialized to
 // contain the specified string.  A null terminator is added to the specified
@@ -644,6 +645,7 @@
   destroyConstantImpl();
 }
 
+#if 0
 /// refineAbstractType - If this callback is invoked, then this constant is of a
 /// derived type, change all users to use a concrete constant of the new type.
 ///
@@ -661,7 +663,7 @@
     destroyConstant();    // This constant is now dead, destroy it.
   }
 }
-
+#endif
 
 //---- ConstantPointerNull::get() implementation...
 //
@@ -687,6 +689,7 @@
   destroyConstantImpl();
 }
 
+#if 0
 /// refineAbstractType - If this callback is invoked, then this constant is of a
 /// derived type, change all users to use a concrete constant of the new type.
 ///
@@ -703,6 +706,7 @@
     destroyConstant();
   }
 }
+#endif
 
 
 
@@ -820,6 +824,7 @@
   destroyConstantImpl();
 }
 
+#if 0
 /// refineAbstractType - If this callback is invoked, then this constant is of a
 /// derived type, change all users to use a concrete constant of the new type.
 ///
@@ -853,6 +858,7 @@
     destroyConstant();    // This constant is now dead, destroy it.
   }
 }
+#endif
 
 
 





More information about the llvm-commits mailing list