Changeset 167842 in webkit for trunk/Source/JavaScriptCore/runtime/JSObject.h
- Timestamp:
- Apr 25, 2014, 11:00:43 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSObject.h
r167313 r167842 1258 1258 ALWAYS_INLINE bool JSObject::getPropertySlot(ExecState* exec, unsigned propertyName, PropertySlot& slot) 1259 1259 { 1260 VM& vm = exec->vm(); 1260 1261 JSObject* object = this; 1261 1262 while (true) { 1262 if (object->methodTable(exec->vm())->getOwnPropertySlotByIndex(object, exec, propertyName, slot)) 1263 Structure& structure = *object->structure(vm); 1264 if (structure.classInfo()->methodTable.getOwnPropertySlotByIndex(object, exec, propertyName, slot)) 1263 1265 return true; 1264 JSValue prototype = object->prototype();1266 JSValue prototype = structure.storedPrototype(); 1265 1267 if (!prototype.isObject()) 1266 1268 return false;
Note:
See TracChangeset
for help on using the changeset viewer.