diff options
author | Chris Lattner <sabre@nondot.org> | 2001-10-13 06:57:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-10-13 06:57:47 +0000 |
commit | b1726accb24ad13419dcbc88beae11dec4733c5a (patch) | |
tree | e0b18a29f8cd095322b59d597c50a0dfc219537c | |
parent | f5ec48d7b5260089e2f3da65508999dcc19f14ce (diff) |
Add new TerminatorInst ctor for invoke
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@770 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/VMCore/InstrTypes.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/VMCore/InstrTypes.cpp b/lib/VMCore/InstrTypes.cpp index dbace177a9..9e49805d31 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 |