Changeset 287
- Timestamp:
- Aug 2, 2011, 3:27:21 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-kernel/service_internal_js.c
r277 r287 72 72 return 1; 73 73 } 74 JS_SetOptions(cx, JSOPTION_VAROBJFIX | JSOPTION_JIT | JSOPTION_METHODJIT);74 JS_SetOptions(cx, JSOPTION_VAROBJFIX | JSOPTION_JIT );//| JSOPTION_METHODJIT); 75 75 JS_SetVersion(cx, JSVERSION_LATEST); 76 76 JS_SetErrorReporter(cx, reportError); 77 77 78 78 /* Create the global object. */ 79 global = JS_NewCompartmentAndGlobalObject(cx, &global_class, NULL); 79 //global = JS_NewCompartmentAndGlobalObject(cx, &global_class, NULL); 80 global = JS_NewObject(cx, &global_class, NULL,NULL); 80 81 81 82 /* Populate the global object with the standard globals,
Note: See TracChangeset
for help on using the changeset viewer.