Changeset 40108 in webkit for trunk/JavaScriptCore/interpreter/Interpreter.cpp
- Timestamp:
- Jan 21, 2009, 7:35:42 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/interpreter/Interpreter.cpp
r40046 r40108 2552 2552 RefPtr<Structure>* end = it + count; 2553 2553 2554 JSObject* baseObject = asObject(baseCell);2555 while (1) {2556 baseObject = asObject(baseObject->structure()->prototypeForLookup(callFrame)); 2554 while (true) { 2555 JSObject* baseObject = asObject(baseCell->structure()->prototypeForLookup(callFrame)); 2556 2557 2557 if (UNLIKELY(baseObject->structure() != (*it).get())) 2558 2558 break; … … 2568 2568 NEXT_INSTRUCTION(); 2569 2569 } 2570 2571 // Update baseCell, so that next time around the loop we'll pick up the prototype's prototype. 2572 baseCell = baseObject; 2570 2573 } 2571 2574 }
Note:
See TracChangeset
for help on using the changeset viewer.