Changeset 44757 in webkit for trunk/JavaScriptCore/runtime/JSGlobalObject.h
- Timestamp:
- Jun 17, 2009, 2:11:05 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/JSGlobalObject.h
r44076 r44757 170 170 171 171 virtual bool getOwnPropertySlot(ExecState*, const Identifier&, PropertySlot&); 172 virtual bool getOwnPropertySlot(ExecState*, const Identifier&, PropertySlot&, bool& slotIsWriteable);172 virtual bool hasOwnPropertyForWrite(ExecState*, const Identifier&); 173 173 virtual void put(ExecState*, const Identifier&, JSValue, PutPropertySlot&); 174 174 virtual void putWithAttributes(ExecState*, const Identifier& propertyName, JSValue value, unsigned attributes); … … 326 326 } 327 327 328 inline bool JSGlobalObject::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot, bool& slotIsWriteable) 329 { 330 if (JSVariableObject::getOwnPropertySlotForWrite(exec, propertyName, slot, slotIsWriteable)) 328 inline bool JSGlobalObject::hasOwnPropertyForWrite(ExecState* exec, const Identifier& propertyName) 329 { 330 PropertySlot slot; 331 if (JSVariableObject::getOwnPropertySlot(exec, propertyName, slot)) 331 332 return true; 333 bool slotIsWriteable; 332 334 return symbolTableGet(propertyName, slot, slotIsWriteable); 333 335 }
Note:
See TracChangeset
for help on using the changeset viewer.