Changeset 47780 in webkit for trunk/JavaScriptCore/runtime/JSONObject.cpp
- Timestamp:
- Aug 26, 2009, 9:52:15 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/JSONObject.cpp
r47086 r47780 582 582 bool JSONObject::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) 583 583 { 584 const HashEntry* entry = ExecState::jsonTable(exec)->entry(exec, propertyName); 585 if (!entry) 586 return JSObject::getOwnPropertySlot(exec, propertyName, slot); 587 588 ASSERT(entry->attributes() & Function); 589 setUpStaticFunctionSlot(exec, entry, this, propertyName, slot); 590 return true; 584 return getStaticFunctionSlot<JSObject>(exec, ExecState::jsonTable(exec), this, propertyName, slot); 585 } 586 587 bool JSONObject::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor) 588 { 589 return getStaticFunctionDescriptor<JSObject>(exec, ExecState::jsonTable(exec), this, propertyName, descriptor); 591 590 } 592 591
Note:
See TracChangeset
for help on using the changeset viewer.