From c58a5ce869f7700814d0f82a3419966fbc32b9a5 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 12 Jan 2014 00:12:46 -0800 Subject: [PATCH] The objc_registerClassPair hack is not even there. --- ObjectiveC/Library.mm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ObjectiveC/Library.mm b/ObjectiveC/Library.mm index 1904f24..7b62f70 100644 --- a/ObjectiveC/Library.mm +++ b/ObjectiveC/Library.mm @@ -2930,10 +2930,6 @@ void CYObjectiveC_SetupContext(JSContextRef context) { CYPoolTry { JSObjectRef box(JSObjectMakeFunctionWithCallback(context, CYJSString("box"), &Instance_box_callAsFunction)); CYSetProperty(context, Instance, CYJSString("box"), box); -#if defined(__APPLE__) && defined(__arm__) && 0 - CYSetProperty(context, all, CYJSString("objc_registerClassPair"), &objc_registerClassPair_, kJSPropertyAttributeDontEnum); -#endif - #ifdef __APPLE__ CYSetProperty(context, all, CYJSString("choose"), &choose, kJSPropertyAttributeDontEnum); #endif -- 2.47.2