Changeset 34659 in webkit for trunk/JavaScriptCore/kjs/JSObject.h


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/kjs/JSObject.h

    r34587 r34659  
    421421        { return _prop.getLocation(propertyName, isWriteable); }
    422422    void putDirect(const Identifier &propertyName, JSValue *value, int attr = 0);
    423     void putDirect(const Identifier &propertyName, int value, int attr = 0);
     423    void putDirect(ExecState*, const Identifier& propertyName, int value, int attr = 0);
    424424    void removeDirect(const Identifier &propertyName);
    425425   
     
    487487{
    488488    ASSERT(proto);
     489    ASSERT(Heap::heap(this) == Heap::heap(proto));
    489490}
    490491
     
    630631}
    631632
    632 inline void JSObject::putDirect(const Identifier &propertyName, int value, int attr)
    633 {
    634     _prop.put(propertyName, jsNumber(value), attr);
     633inline void JSObject::putDirect(ExecState* exec, const Identifier &propertyName, int value, int attr)
     634{
     635    _prop.put(propertyName, jsNumber(exec, value), attr);
    635636}
    636637
Note: See TracChangeset for help on using the changeset viewer.