From f4e7a7bf5c488cf1038953b9474ff76411165f36 Mon Sep 17 00:00:00 2001 From: theraven Date: Wed, 30 Jun 2010 12:09:42 +0000 Subject: [PATCH] Return the correct thing to exception handlers. --- eh_personality.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eh_personality.c b/eh_personality.c index 5d91faa..c117077 100644 --- a/eh_personality.c +++ b/eh_personality.c @@ -233,7 +233,7 @@ _Unwind_Reason_Code __gnu_objc_personality_v0(int version, _Unwind_SetIP(context, (unsigned long)action.landing_pad); _Unwind_SetGR(context, __builtin_eh_return_data_regno(0), - (unsigned long)exceptionObject); + (unsigned long)object); _Unwind_SetGR(context, __builtin_eh_return_data_regno(1), selector); return _URC_INSTALL_CONTEXT;