mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 03:25:23 +00:00
DummyInst's member functions don't need to be virtual.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40530 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -40,11 +40,11 @@ namespace {
|
|||||||
LeakDetector::removeGarbageObject(this);
|
LeakDetector::removeGarbageObject(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual Instruction *clone() const {
|
Instruction *clone() const {
|
||||||
assert(0 && "Cannot clone EOL");abort();
|
assert(0 && "Cannot clone EOL");abort();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
virtual const char *getOpcodeName() const { return "*end-of-list-inst*"; }
|
const char *getOpcodeName() const { return "*end-of-list-inst*"; }
|
||||||
|
|
||||||
// Methods for support type inquiry through isa, cast, and dyn_cast...
|
// Methods for support type inquiry through isa, cast, and dyn_cast...
|
||||||
static inline bool classof(const DummyInst *) { return true; }
|
static inline bool classof(const DummyInst *) { return true; }
|
||||||
|
Reference in New Issue
Block a user