1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

DummyInst's member functions don't need to be virtual.

llvm-svn: 40530
This commit is contained in:
Dan Gohman 2007-07-26 15:25:08 +00:00
parent d3a062f01b
commit c63ddf2f57

View File

@ -40,11 +40,11 @@ namespace {
LeakDetector::removeGarbageObject(this);
}
virtual Instruction *clone() const {
Instruction *clone() const {
assert(0 && "Cannot clone EOL");abort();
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...
static inline bool classof(const DummyInst *) { return true; }