From 1ad37b2b59d20e64de0ef0d79d859878e37aecf1 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 3 Oct 2003 18:39:40 +0000 Subject: [PATCH] These methods are dead, remove them git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8839 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Constants.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index dc6922e6383..c885c619192 100644 --- a/include/llvm/Constants.h +++ b/include/llvm/Constants.h @@ -280,7 +280,6 @@ class ConstantArray : public Constant { ConstantArray(const ConstantArray &); // DO NOT IMPLEMENT protected: ConstantArray(const ArrayType *T, const std::vector &Val); - void refineAbstractType(const DerivedType *OldTy, const Type *NewTy); public: /// get() - Static factory methods - Return objects of the specified value static ConstantArray *get(const ArrayType *T, const std::vector &); @@ -336,7 +335,6 @@ class ConstantStruct : public Constant { ConstantStruct(const ConstantStruct &); // DO NOT IMPLEMENT protected: ConstantStruct(const StructType *T, const std::vector &Val); - void refineAbstractType(const DerivedType *OldTy, const Type *NewTy); public: /// get() - Static factory methods - Return objects of the specified value static ConstantStruct *get(const StructType *T, @@ -409,7 +407,6 @@ class ConstantPointerNull : public ConstantPointer { ConstantPointerNull(const ConstantPointerNull &); // DO NOT IMPLEMENT protected: ConstantPointerNull(const PointerType *T) : ConstantPointer(T) {} - void refineAbstractType(const DerivedType *OldTy, const Type *NewTy); public: @@ -494,7 +491,6 @@ protected: // GEP instruction creation ctor ConstantExpr(Constant *C, const std::vector &IdxList, const Type *DestTy); - void refineAbstractType(const DerivedType *OldTy, const Type *NewTy); public: // Static methods to construct a ConstantExpr of different kinds. Note that -- 2.34.1