diff options
author | Chris Lattner <sabre@nondot.org> | 2003-10-02 19:44:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-10-02 19:44:40 +0000 |
commit | 32002198432e8d701bca76e35a06bfbca94f0701 (patch) | |
tree | ae0356c2545ca937014140920ffe30df93d77f9d /lib/VMCore/Constants.cpp | |
parent | 0dde36c4c70e2c16be7802e978fb7dd34a7125cb (diff) |
There is no reason for Value to be an AbstractTypeUser. This just makes things
significantly more complete. Instead, just make DerivedType's AbstractTypeUser's,
and make Value contain a PATypeHolder.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8828 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Constants.cpp')
-rw-r--r-- | lib/VMCore/Constants.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/VMCore/Constants.cpp b/lib/VMCore/Constants.cpp index 20f9913489..bc9196c8ce 100644 --- a/lib/VMCore/Constants.cpp +++ b/lib/VMCore/Constants.cpp @@ -581,7 +581,6 @@ void ConstantArray::destroyConstant() { /// void ConstantArray::refineAbstractType(const DerivedType *OldTy, const Type *NewTy) { - Value::refineAbstractType(OldTy, NewTy); if (OldTy == NewTy) return; // Make everyone now use a constant of the new type... @@ -650,7 +649,6 @@ void ConstantStruct::destroyConstant() { /// void ConstantStruct::refineAbstractType(const DerivedType *OldTy, const Type *NewTy) { - Value::refineAbstractType(OldTy, NewTy); if (OldTy == NewTy) return; // Make everyone now use a constant of the new type... @@ -694,7 +692,6 @@ void ConstantPointerNull::destroyConstant() { /// void ConstantPointerNull::refineAbstractType(const DerivedType *OldTy, const Type *NewTy) { - Value::refineAbstractType(OldTy, NewTy); if (OldTy == NewTy) return; // Make everyone now use a constant of the new type... @@ -828,7 +825,6 @@ void ConstantExpr::destroyConstant() { /// void ConstantExpr::refineAbstractType(const DerivedType *OldTy, const Type *NewTy) { - Value::refineAbstractType(OldTy, NewTy); if (OldTy == NewTy) return; // FIXME: These need to use a lower-level implementation method, because the |