remove two useless functions. Just inherit Type's implementation instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36677 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-05-03 17:10:20 +00:00
parent 49e1580214
commit a6bb4a9e93

View File

@ -407,14 +407,6 @@ public:
return new OpaqueType(); // All opaque types are distinct return new OpaqueType(); // All opaque types are distinct
} }
// Implement the AbstractTypeUser interface.
virtual void refineAbstractType(const DerivedType *OldTy, const Type *NewTy) {
abort(); // FIXME: this is not really an AbstractTypeUser!
}
virtual void typeBecameConcrete(const DerivedType *AbsTy) {
abort(); // FIXME: this is not really an AbstractTypeUser!
}
// Implement support for type inquiry through isa, cast, and dyn_cast: // Implement support for type inquiry through isa, cast, and dyn_cast:
static inline bool classof(const OpaqueType *T) { return true; } static inline bool classof(const OpaqueType *T) { return true; }
static inline bool classof(const Type *T) { static inline bool classof(const Type *T) {