Commit afc84378 authored by hausmann@webkit.org's avatar hausmann@webkit.org
Browse files

Fix interpreter build

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

Patch by Kevin Funk <kevin.funk@kdab.com> on 2012-09-14
Reviewed by Simon Hausmann.

Make compile.

* interpreter/Interpreter.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128611 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 3fd587b0
2012-09-14 Kevin Funk <kevin.funk@kdab.com>
Fix interpreter build
https://bugs.webkit.org/show_bug.cgi?id=96617
Reviewed by Simon Hausmann.
Make compile.
* interpreter/Interpreter.cpp:
2012-09-14 Parth Patel <parpatel@rim.com>
 
[BlackBerry] Switching from Slogger to Slogger2 requires changes in CMakeList of
......
......@@ -3610,8 +3610,8 @@ skip_id_custom_self:
uint32_t i = subscript.asUInt32();
if (isJSArray(baseValue)) {
JSArray* jsArray = asArray(baseValue);
if (jsArray->canGetIndex(i))
result = jsArray->getIndex(i);
if (jsArray->canGetIndexQuickly(i))
result = jsArray->getIndexQuickly(i);
else
result = jsArray->JSArray::get(callFrame, i);
} else if (isJSString(baseValue) && asString(baseValue)->canGetIndex(i))
......@@ -3652,8 +3652,8 @@ skip_id_custom_self:
uint32_t i = subscript.asUInt32();
if (isJSArray(baseValue)) {
JSArray* jsArray = asArray(baseValue);
if (jsArray->canSetIndex(i))
jsArray->setIndex(*globalData, i, callFrame->r(value).jsValue());
if (jsArray->canSetIndexQuickly(i))
jsArray->setIndexQuickly(*globalData, i, callFrame->r(value).jsValue());
else
jsArray->JSArray::putByIndex(jsArray, callFrame, i, callFrame->r(value).jsValue(), codeBlock->isStrictMode());
} else
......@@ -5012,7 +5012,7 @@ skip_id_custom_self:
accessor->setGetter(callFrame->globalData(), asObject(getter));
if (!setter.isUndefined())
accessor->setSetter(callFrame->globalData(), asObject(setter));
baseObj->putDirectAccessor(callFrame->globalData(), ident, accessor, Accessor);
baseObj->putDirectAccessor(callFrame, ident, accessor, Accessor);
vPC += OPCODE_LENGTH(op_put_getter_setter);
NEXT_INSTRUCTION();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment