diff --git a/include/llvm/InstrTypes.h b/include/llvm/InstrTypes.h index db85a397c8d..54aab328758 100644 --- a/include/llvm/InstrTypes.h +++ b/include/llvm/InstrTypes.h @@ -23,7 +23,9 @@ class SymTabValue; // class TerminatorInst : public Instruction { public: - TerminatorInst(unsigned iType); + TerminatorInst(Instruction::TermOps iType); + TerminatorInst(const Type *Ty, Instruction::TermOps iType, + const string &Name = ""); inline ~TerminatorInst() {} // Terminators must implement the methods required by Instruction...