Removed some (non-functional) experimental code from exception.c that was breaking 64-bit compile.

main
theraven 16 years ago
parent 4e06c2a9f0
commit 38bad343d3

@ -27,11 +27,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
//#include <unwind.h>
#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);

Loading…
Cancel
Save