]> git.saurik.com Git - cycript.git/commitdiff
The objc_registerClassPair hack is not even there.
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 12 Jan 2014 08:12:46 +0000 (00:12 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 12 Jan 2014 08:12:46 +0000 (00:12 -0800)
ObjectiveC/Library.mm

index 1904f24e044588f798dda28f4011976392bfe579..7b62f702d3679f55394cf50ef8793ba76197685c 100644 (file)
@@ -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