Changeset 34659 in webkit for trunk/JavaScriptCore/kjs/JSObject.h
- Timestamp:
- Jun 19, 2008, 10:29:29 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/JSObject.h
r34587 r34659 421 421 { return _prop.getLocation(propertyName, isWriteable); } 422 422 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); 424 424 void removeDirect(const Identifier &propertyName); 425 425 … … 487 487 { 488 488 ASSERT(proto); 489 ASSERT(Heap::heap(this) == Heap::heap(proto)); 489 490 } 490 491 … … 630 631 } 631 632 632 inline void JSObject::putDirect( const Identifier &propertyName, int value, int attr)633 { 634 _prop.put(propertyName, jsNumber( value), attr);633 inline void JSObject::putDirect(ExecState* exec, const Identifier &propertyName, int value, int attr) 634 { 635 _prop.put(propertyName, jsNumber(exec, value), attr); 635 636 } 636 637
Note:
See TracChangeset
for help on using the changeset viewer.