Return the correct thing to exception handlers.

main
theraven 16 years ago
parent f375d20d7a
commit f4e7a7bf5c

@ -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;

Loading…
Cancel
Save