Ignore:
Timestamp:
Nov 19, 2013, 4:29:43 PM (12 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r159459.
http://trac.webkit.org/changeset/159459
https://bugs.webkit.org/show_bug.cgi?id=124616

tons of assertions on launch (Requested by thorton on
#webkit).

  • API/JSContext.mm:

(-[JSContext setException:]):
(-[JSContext wrapperForObjCObject:]):
(-[JSContext wrapperForJSObject:]):

  • API/JSContextRef.cpp:

(JSContextGroupRelease):
(JSGlobalContextRelease):

  • API/JSManagedValue.mm:

(-[JSManagedValue initWithValue:]):
(-[JSManagedValue value]):

  • API/JSObjectRef.cpp:

(JSObjectIsFunction):
(JSObjectCopyPropertyNames):

  • API/JSValue.mm:

(containerValueToObject):

  • API/JSWrapperMap.mm:

(tryUnwrapObjcObject):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/API/JSObjectRef.cpp

    r159459 r159531  
    507507}
    508508
    509 bool JSObjectIsFunction(JSContextRef ctx, JSObjectRef object)
     509bool JSObjectIsFunction(JSContextRef, JSObjectRef object)
    510510{
    511511    if (!object)
    512512        return false;
    513     APIEntryShim entryShim(toJS(ctx));
    514513    CallData callData;
    515514    JSCell* cell = toJS(object);
     
    607606        return 0;
    608607    }
     608    JSObject* jsObject = toJS(object);
    609609    ExecState* exec = toJS(ctx);
    610610    APIEntryShim entryShim(exec);
     
    612612    VM* vm = &exec->vm();
    613613
    614     JSObject* jsObject = toJS(object);
    615614    JSPropertyNameArrayRef propertyNames = new OpaqueJSPropertyNameArray(vm);
    616615    PropertyNameArray array(vm);
Note: See TracChangeset for help on using the changeset viewer.