Add new TerminatorInst ctor for invoke

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@770 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2001-10-13 06:57:47 +00:00
parent f5ec48d7b5
commit b1726accb2

View File

@ -15,10 +15,15 @@
// TerminatorInst Class // TerminatorInst Class
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
TerminatorInst::TerminatorInst(unsigned iType) TerminatorInst::TerminatorInst(Instruction::TermOps iType)
: Instruction(Type::VoidTy, iType, "") { : Instruction(Type::VoidTy, iType, "") {
} }
TerminatorInst::TerminatorInst(const Type *Ty, Instruction::TermOps iType,
const string &Name = "")
: Instruction(Ty, iType, Name) {
}
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
// MethodArgument Class // MethodArgument Class