projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f64d57a
)
Right, fix the problem with invoke instructions, not just call instructions
author
Chris Lattner
<sabre@nondot.org>
Tue, 23 Dec 2003 22:18:36 +0000
(22:18 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 23 Dec 2003 22:18:36 +0000
(22:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10599
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/AsmParser/llvmAsmParser.y
patch
|
blob
|
history
diff --git
a/lib/AsmParser/llvmAsmParser.y
b/lib/AsmParser/llvmAsmParser.y
index 357c9ae0ea835a5a643108a839d6b5c63194e44c..49bf67fc038ac69a9ee3f3567887156e51cc794f 100644
(file)
--- a/
lib/AsmParser/llvmAsmParser.y
+++ b/
lib/AsmParser/llvmAsmParser.y
@@
-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 {