From aeb2a1d70807aa626f335fb23d47bc604ffeaa15 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 8 Feb 2004 21:44:31 +0000 Subject: 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 --- lib/ExecutionEngine/Interpreter/Execution.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/ExecutionEngine/Interpreter/Execution.cpp') 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 (Inst)->getExceptionalDest (), - InvokingSF); + SwitchToNewBasicBlock(cast(Inst)->getUnwindDest(), InvokingSF); } void Interpreter::visitBranchInst(BranchInst &I) { -- cgit v1.2.3-18-g5258