Changeset 128611 in webkit for trunk/Source/JavaScriptCore


Ignore:
Timestamp:
Sep 14, 2012, 7:55:11 AM (13 years ago)
Author:
Simon Hausmann
Message:

Fix interpreter build
https://bugs.webkit.org/show_bug.cgi?id=96617

Patch by Kevin Funk <[email protected]> on 2012-09-14
Reviewed by Simon Hausmann.

Make compile.

  • interpreter/Interpreter.cpp:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r128599 r128611  
     12012-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
    1122012-09-14  Parth Patel  <[email protected]>
    213
  • trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp

    r128542 r128611  
    36113611            if (isJSArray(baseValue)) {
    36123612                JSArray* jsArray = asArray(baseValue);
    3613                 if (jsArray->canGetIndex(i))
    3614                     result = jsArray->getIndex(i);
     3613                if (jsArray->canGetIndexQuickly(i))
     3614                    result = jsArray->getIndexQuickly(i);
    36153615                else
    36163616                    result = jsArray->JSArray::get(callFrame, i);
     
    36533653            if (isJSArray(baseValue)) {
    36543654                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());
    36573657                else
    36583658                    jsArray->JSArray::putByIndex(jsArray, callFrame, i, callFrame->r(value).jsValue(), codeBlock->isStrictMode());
     
    50135013        if (!setter.isUndefined())
    50145014            accessor->setSetter(callFrame->globalData(), asObject(setter));
    5015         baseObj->putDirectAccessor(callFrame->globalData(), ident, accessor, Accessor);
     5015        baseObj->putDirectAccessor(callFrame, ident, accessor, Accessor);
    50165016
    50175017        vPC += OPCODE_LENGTH(op_put_getter_setter);
Note: See TracChangeset for help on using the changeset viewer.