mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Add a couple of extra casts to avoid having to add #include
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2205 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a6fd4b0d82
commit
1413747bb4
@ -43,7 +43,7 @@ CallInst::CallInst(const CallInst &CI)
|
||||
// InvokeInst Implementation
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
InvokeInst::InvokeInst(Value *Func, BasicBlock *IfNormal, \
|
||||
InvokeInst::InvokeInst(Value *Func, BasicBlock *IfNormal,
|
||||
BasicBlock *IfException,
|
||||
const std::vector<Value*> ¶ms,
|
||||
const std::string &Name)
|
||||
@ -52,8 +52,8 @@ InvokeInst::InvokeInst(Value *Func, BasicBlock *IfNormal, \
|
||||
Instruction::Invoke, Name) {
|
||||
Operands.reserve(3+params.size());
|
||||
Operands.push_back(Use(Func, this));
|
||||
Operands.push_back(Use(IfNormal, this));
|
||||
Operands.push_back(Use(IfException, this));
|
||||
Operands.push_back(Use((Value*)IfNormal, this));
|
||||
Operands.push_back(Use((Value*)IfException, this));
|
||||
const FunctionType *MTy =
|
||||
cast<FunctionType>(cast<PointerType>(Func->getType())->getElementType());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user