Changeset 44076 in webkit for trunk/JavaScriptCore/runtime/Lookup.h
- Timestamp:
- May 22, 2009, 6:48:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/Lookup.h
r43220 r44076 230 230 return false; 231 231 232 if (entry->attributes() & Function) // function: put as override property 233 thisObj->putDirect(propertyName, value); 234 else if (!(entry->attributes() & ReadOnly)) 232 if (entry->attributes() & Function) { // function: put as override property 233 if (LIKELY(value.isCell())) 234 thisObj->putDirectFunction(propertyName, value.asCell()); 235 else 236 thisObj->putDirect(propertyName, value); 237 } else if (!(entry->attributes() & ReadOnly)) 235 238 entry->propertyPutter()(exec, thisObj, value); 236 239
Note:
See TracChangeset
for help on using the changeset viewer.