Ignore:
Timestamp:
Jun 19, 2008, 10:29:29 AM (17 years ago)
Author:
[email protected]
Message:

Reviewed by Darin.

Prepare JavaScript heap for being per-thread.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/JSCallbackObjectFunctions.h

    r34607 r34659  
    471471            if (StaticFunctionEntry* entry = staticFunctions->get(propertyName.ustring().rep())) {
    472472                if (JSObjectCallAsFunctionCallback callAsFunction = entry->callAsFunction) {
    473                     JSObject* o = new JSCallbackFunction(exec, callAsFunction, propertyName);
     473                    JSObject* o = new (exec) JSCallbackFunction(exec, callAsFunction, propertyName);
    474474                    thisObj->putDirect(propertyName, o, entry->attributes);
    475475                    return o;
Note: See TracChangeset for help on using the changeset viewer.