From 38bad343d39404f67543d10d2327ff995c5102ae Mon Sep 17 00:00:00 2001 From: theraven Date: Wed, 20 Jan 2010 00:12:46 +0000 Subject: [PATCH] Removed some (non-functional) experimental code from exception.c that was breaking 64-bit compile. --- exception.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/exception.c b/exception.c index 7c57dfa..719ddc1 100644 --- a/exception.c +++ b/exception.c @@ -27,11 +27,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see //#include #include "unwind-pe.h" -void (*__objc_unhandled_exception)(id) = 0; - -__attribute__((weak)) int main(void); - - #ifdef __ARM_EABI_UNWINDER__ const _Unwind_Exception_Class __objc_exception_class @@ -455,13 +450,6 @@ PERSONALITY_FUNCTION (int version, install_context: if (saw_cleanup == 0) { - if (_Unwind_GetRegionStart(context) == (int)main) - { - if (__objc_unhandled_exception) - { - __objc_unhandled_exception(xh->value); - } - } return_object = xh->value; if (!(actions & _UA_SEARCH_PHASE)) _Unwind_DeleteException(&xh->base);