From 742b1461dba565da83e952dabceb3b2a0e16685b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 13 Oct 2001 06:24:10 +0000 Subject: [PATCH] New ctor for invoke inst git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@743 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/InstrTypes.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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... -- 2.34.1