mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 22:32:47 +00:00
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:
parent
49e1580214
commit
a6bb4a9e93
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user