Changeset 20310 in webkit for trunk/JavaScriptCore/kjs/object.h
- Timestamp:
- Mar 18, 2007, 10:43:47 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/object.h
r20004 r20310 27 27 28 28 #include "JSType.h" 29 #include "CommonIdentifiers.h" 29 30 #include "interpreter.h" 30 31 #include "property_map.h" … … 246 247 * @param propertyValue The value to set 247 248 */ 248 virtual void put(ExecState *exec, const Identifier &propertyName, JSValue *value, int attr = None);249 virtual void put(ExecState *exec, unsigned propertyName, JSValue *value, int attr = None);249 virtual void put(ExecState* exec, const Identifier &propertyName, JSValue* value, int attr = None); 250 virtual void put(ExecState* exec, unsigned propertyName, JSValue* value, int attr = None); 250 251 251 252 /** … … 565 566 // but it makes a big difference to property lookup that derived classes can inline their 566 567 // base class call to this. 567 ALWAYS_INLINE bool JSObject::getOwnPropertySlot(ExecState *exec, const Identifier& propertyName, PropertySlot& slot)568 ALWAYS_INLINE bool JSObject::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) 568 569 { 569 570 if (JSValue **location = getDirectLocation(propertyName)) { … … 576 577 577 578 // non-standard Netscape extension 578 if (propertyName == exec-> dynamicInterpreter()->specialPrototypeIdentifier()) {579 if (propertyName == exec->propertyNames().underscoreProto) { 579 580 slot.setValueSlot(this, &_proto); 580 581 return true;
Note:
See TracChangeset
for help on using the changeset viewer.