diff options
Diffstat (limited to 'lib/VMCore/BasicBlock.cpp')
-rw-r--r-- | lib/VMCore/BasicBlock.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/VMCore/BasicBlock.cpp b/lib/VMCore/BasicBlock.cpp index 446af17be1..d0859f8743 100644 --- a/lib/VMCore/BasicBlock.cpp +++ b/lib/VMCore/BasicBlock.cpp @@ -20,7 +20,10 @@ struct DummyInst : public Instruction { DummyInst() : Instruction(Type::VoidTy, NumOtherOps) {} - virtual Instruction *clone() const { assert(0 && "Cannot clone EOL");abort();} + virtual Instruction *clone() const { + assert(0 && "Cannot clone EOL");abort(); + return 0; + } virtual const char *getOpcodeName() const { return "*end-of-list-inst*"; } // Methods for support type inquiry through isa, cast, and dyn_cast... |