mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-03 14:31:10 +00:00
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:
parent
f5ec48d7b5
commit
b1726accb2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user