Remove an obsolete method, including its _long_ out of date comment.
authorChris Lattner <sabre@nondot.org>
Fri, 9 Jan 2004 05:45:58 +0000 (05:45 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 9 Jan 2004 05:45:58 +0000 (05:45 +0000)
This is an incremental step towards fixing PR82

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10723 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/DerivedTypes.h

index c0cd601e618347bee7825615f365be7e4d04ca2b..05b065b8a1a99ba96c971fbdf89798586d118459 100644 (file)
@@ -198,12 +198,6 @@ public:
   virtual const Type *getTypeAtIndex(const Value *V) const = 0;
   virtual bool indexValid(const Value *V) const = 0;
 
-  // getIndexType - Return the type required of indices for this composite.
-  // For structures, this is ubyte, for arrays, this is uint
-  //
-  virtual const Type *getIndexType() const = 0;
-
-
   // Methods for support type inquiry through isa, cast, and dyn_cast:
   static inline bool classof(const CompositeType *T) { return true; }
   static inline bool classof(const Type *T) {
@@ -258,11 +252,6 @@ public:
   virtual const Type *getTypeAtIndex(const Value *V) const ;
   virtual bool indexValid(const Value *V) const;
 
-  // getIndexType - Return the type required of indices for this composite.
-  // For structures, this is ubyte, for arrays, this is uint
-  //
-  virtual const Type *getIndexType() const { return Type::UByteTy; }
-
   // Implement the AbstractTypeUser interface.
   virtual void refineAbstractType(const DerivedType *OldTy, const Type *NewTy);
   virtual void typeBecameConcrete(const DerivedType *AbsTy);
@@ -312,11 +301,6 @@ public:
     return V->getType()->isInteger();
   }
 
-  // getIndexType() - Return the type required of indices for this composite.
-  // For structures, this is ubyte, for arrays, this is uint
-  //
-  virtual const Type *getIndexType() const { return Type::LongTy; }
-
   // Methods for support type inquiry through isa, cast, and dyn_cast:
   static inline bool classof(const SequentialType *T) { return true; }
   static inline bool classof(const Type *T) {