From: Chris Lattner Date: Sat, 13 Oct 2001 06:57:47 +0000 (+0000) Subject: Add new TerminatorInst ctor for invoke X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b1726accb24ad13419dcbc88beae11dec4733c5a;p=oota-llvm.git Add new TerminatorInst ctor for invoke git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@770 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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