summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-08 21:44:31 +0000
committerChris Lattner <sabre@nondot.org>2004-02-08 21:44:31 +0000
commitfae8ab3088e339af403014983165abeebc202740 (patch)
tree1892cd47e93d7ea36a7f6b8051375654c9b6741f /llvm/lib/ExecutionEngine/Interpreter
parent35630adf54118c97f9bcc5c025eeb69df3ff7a39 (diff)
downloadbcm5719-llvm-fae8ab3088e339af403014983165abeebc202740.tar.gz
bcm5719-llvm-fae8ab3088e339af403014983165abeebc202740.zip
rename the "exceptional" destination of an invoke instruction to the 'unwind' dest
llvm-svn: 11202
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Execution.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
index 22812c3adbd..57ae6215456 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
+++ b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
@@ -589,8 +589,7 @@ void Interpreter::visitUnwindInst(UnwindInst &I) {
InvokingSF.Caller = CallSite ();
// Go to exceptional destination BB of invoke instruction
- SwitchToNewBasicBlock (cast<InvokeInst> (Inst)->getExceptionalDest (),
- InvokingSF);
+ SwitchToNewBasicBlock(cast<InvokeInst>(Inst)->getUnwindDest(), InvokingSF);
}
void Interpreter::visitBranchInst(BranchInst &I) {
OpenPOWER on IntegriCloud