diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-08 21:44:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-08 21:44:31 +0000 |
commit | aeb2a1d70807aa626f335fb23d47bc604ffeaa15 (patch) | |
tree | ef4d4e8c8794fb6ddfb4148f6d5ebe91987bf72a /lib/ExecutionEngine/Interpreter/Execution.cpp | |
parent | 95778a02572d2d5e0e4bea6ef2ec95b2964c05be (diff) |
rename the "exceptional" destination of an invoke instruction to the 'unwind' dest
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11202 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/Execution.cpp')
-rw-r--r-- | lib/ExecutionEngine/Interpreter/Execution.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp index 22812c3adb..57ae621545 100644 --- a/lib/ExecutionEngine/Interpreter/Execution.cpp +++ b/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) { |