diff --git a/lib/VMCore/InstrTypes.cpp b/lib/VMCore/InstrTypes.cpp index dbace177a98..9e49805d315 100644 --- a/lib/VMCore/InstrTypes.cpp +++ b/lib/VMCore/InstrTypes.cpp @@ -15,10 +15,15 @@ // TerminatorInst Class //===----------------------------------------------------------------------===// -TerminatorInst::TerminatorInst(unsigned iType) +TerminatorInst::TerminatorInst(Instruction::TermOps iType) : Instruction(Type::VoidTy, iType, "") { } +TerminatorInst::TerminatorInst(const Type *Ty, Instruction::TermOps iType, + const string &Name = "") + : Instruction(Ty, iType, Name) { +} + //===----------------------------------------------------------------------===// // MethodArgument Class