Changeset 48582 in webkit for trunk/JavaScriptCore/interpreter/Interpreter.cpp
- Timestamp:
- Sep 21, 2009, 8:45:13 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/interpreter/Interpreter.cpp
r48580 r48582 170 170 if (globalObject->getPropertySlot(callFrame, ident, slot)) { 171 171 JSValue result = slot.getValue(callFrame, ident); 172 if (slot.isCacheable() && !globalObject->structure()->is Dictionary() && slot.slotBase() == globalObject) {172 if (slot.isCacheable() && !globalObject->structure()->isUncacheableDictionary() && slot.slotBase() == globalObject) { 173 173 if (vPC[4].u.structure) 174 174 vPC[4].u.structure->deref(); … … 954 954 Structure* structure = baseCell->structure(); 955 955 956 if (structure->is Dictionary()) {956 if (structure->isUncacheableDictionary()) { 957 957 vPC[0] = getOpcode(op_put_by_id_generic); 958 958 return; … … 1041 1041 Structure* structure = asCell(baseValue)->structure(); 1042 1042 1043 if (structure->is Dictionary()) {1043 if (structure->isUncacheableDictionary()) { 1044 1044 vPC[0] = getOpcode(op_get_by_id_generic); 1045 1045 return;
Note:
See TracChangeset
for help on using the changeset viewer.