From: Chris Lattner Date: Thu, 3 May 2007 17:10:20 +0000 (+0000) Subject: remove two useless functions. Just inherit Type's implementation instead. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a6bb4a9e93522f5e90604da9c39deea7d997e9f7;p=oota-llvm.git 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 --- diff --git a/include/llvm/DerivedTypes.h b/include/llvm/DerivedTypes.h index 6013c265f0b..af58827c881 100644 --- a/include/llvm/DerivedTypes.h +++ b/include/llvm/DerivedTypes.h @@ -407,14 +407,6 @@ public: 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: static inline bool classof(const OpaqueType *T) { return true; } static inline bool classof(const Type *T) {