mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Right, fix the problem with invoke instructions, not just call instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10599 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f64d57ada8
commit
9cd42575c2
@ -1626,7 +1626,6 @@ BBTerminatorInst : RET ResolvedVal { // Return with a result...
|
||||
Ty = FunctionType::get($2->get(), ParamTypes, isVarArg);
|
||||
PFTy = PointerType::get(Ty);
|
||||
}
|
||||
delete $2;
|
||||
|
||||
Value *V = getVal(PFTy, $3); // Get the function we're calling...
|
||||
|
||||
@ -1657,6 +1656,7 @@ BBTerminatorInst : RET ResolvedVal { // Return with a result...
|
||||
|
||||
$$ = new InvokeInst(V, Normal, Except, *$5);
|
||||
}
|
||||
delete $2;
|
||||
delete $5;
|
||||
}
|
||||
| UNWIND {
|
||||
|
Loading…
Reference in New Issue
Block a user