diff options
author | Chris Lattner <sabre@nondot.org> | 2004-01-09 05:45:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-01-09 05:45:58 +0000 |
commit | 84dae1b8a80aee576aa32a05d295e57aacd6c380 (patch) | |
tree | 7de21f9d32938ef7ef1fd154d6076789fd98d435 | |
parent | 9cc1a0e40dfa4b8eda1f8a5befaef25cdd32b0f4 (diff) | |
download | bcm5719-llvm-84dae1b8a80aee576aa32a05d295e57aacd6c380.tar.gz bcm5719-llvm-84dae1b8a80aee576aa32a05d295e57aacd6c380.zip |
Remove an obsolete method, including its _long_ out of date comment.
This is an incremental step towards fixing PR82
llvm-svn: 10723
-rw-r--r-- | llvm/include/llvm/DerivedTypes.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/llvm/include/llvm/DerivedTypes.h b/llvm/include/llvm/DerivedTypes.h index c0cd601e618..05b065b8a1a 100644 --- a/llvm/include/llvm/DerivedTypes.h +++ b/llvm/include/llvm/DerivedTypes.h @@ -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) { |