Ignore:
Timestamp:
May 2, 2008, 3:07:53 AM (17 years ago)
Author:
[email protected]
Message:

Reviewed by Geoffrey Garen.

https://bugs.webkit.org/show_bug.cgi?id=18826
Make JavaScript heap per-thread

File:
1 edited

Legend:

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

    r32609 r32807  
    467467            if (StaticFunctionEntry* entry = staticFunctions->get(propertyName.ustring().rep())) {
    468468                if (JSObjectCallAsFunctionCallback callAsFunction = entry->callAsFunction) {
    469                     JSObject* o = new JSCallbackFunction(exec, callAsFunction, propertyName);
     469                    JSObject* o = new (exec) JSCallbackFunction(exec, callAsFunction, propertyName);
    470470                    thisObj->putDirect(propertyName, o, entry->attributes);
    471471                    return o;
Note: See TracChangeset for help on using the changeset viewer.