Changeset 128611 in webkit for trunk/Source/JavaScriptCore
- Timestamp:
- Sep 14, 2012, 7:55:11 AM (13 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r128599 r128611 1 2012-09-14 Kevin Funk <[email protected]> 2 3 Fix interpreter build 4 https://bugs.webkit.org/show_bug.cgi?id=96617 5 6 Reviewed by Simon Hausmann. 7 8 Make compile. 9 10 * interpreter/Interpreter.cpp: 11 1 12 2012-09-14 Parth Patel <[email protected]> 2 13 -
trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp
r128542 r128611 3611 3611 if (isJSArray(baseValue)) { 3612 3612 JSArray* jsArray = asArray(baseValue); 3613 if (jsArray->canGetIndex (i))3614 result = jsArray->getIndex (i);3613 if (jsArray->canGetIndexQuickly(i)) 3614 result = jsArray->getIndexQuickly(i); 3615 3615 else 3616 3616 result = jsArray->JSArray::get(callFrame, i); … … 3653 3653 if (isJSArray(baseValue)) { 3654 3654 JSArray* jsArray = asArray(baseValue); 3655 if (jsArray->canSetIndex (i))3656 jsArray->setIndex (*globalData, i, callFrame->r(value).jsValue());3655 if (jsArray->canSetIndexQuickly(i)) 3656 jsArray->setIndexQuickly(*globalData, i, callFrame->r(value).jsValue()); 3657 3657 else 3658 3658 jsArray->JSArray::putByIndex(jsArray, callFrame, i, callFrame->r(value).jsValue(), codeBlock->isStrictMode()); … … 5013 5013 if (!setter.isUndefined()) 5014 5014 accessor->setSetter(callFrame->globalData(), asObject(setter)); 5015 baseObj->putDirectAccessor(callFrame ->globalData(), ident, accessor, Accessor);5015 baseObj->putDirectAccessor(callFrame, ident, accessor, Accessor); 5016 5016 5017 5017 vPC += OPCODE_LENGTH(op_put_getter_setter);
Note:
See TracChangeset
for help on using the changeset viewer.