aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-03 18:39:57 +0000
committerChris Lattner <sabre@nondot.org>2003-10-03 18:39:57 +0000
commit9ad4dac5827deb9d66f27a3d3ebe99f2db3e447e (patch)
treeeb872a113ceaba27de299e9c16896904d71a10bb
parent1ad37b2b59d20e64de0ef0d79d859878e37aecf1 (diff)
These methods are dead, remove them. Because the bodies will soon be
ressurected, just ifdef them out for now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8840 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/VMCore/Constants.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/VMCore/Constants.cpp b/lib/VMCore/Constants.cpp
index bc9196c8ce..c252247dd0 100644
--- a/lib/VMCore/Constants.cpp
+++ b/lib/VMCore/Constants.cpp
@@ -576,6 +576,7 @@ void ConstantArray::destroyConstant() {
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 @@ void ConstantArray::refineAbstractType(const DerivedType *OldTy,
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 @@ void ConstantStruct::destroyConstant() {
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 @@ void ConstantStruct::refineAbstractType(const DerivedType *OldTy,
destroyConstant(); // This constant is now dead, destroy it.
}
}
-
+#endif
//---- ConstantPointerNull::get() implementation...
//
@@ -687,6 +689,7 @@ void ConstantPointerNull::destroyConstant() {
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 @@ void ConstantPointerNull::refineAbstractType(const DerivedType *OldTy,
destroyConstant();
}
}
+#endif
@@ -820,6 +824,7 @@ void ConstantExpr::destroyConstant() {
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 @@ void ConstantExpr::refineAbstractType(const DerivedType *OldTy,
destroyConstant(); // This constant is now dead, destroy it.
}
}
+#endif