Title: [128611] trunk/Source/_javascript_Core
- Revision
- 128611
- Author
- [email protected]
- Date
- 2012-09-14 07:55:11 -0700 (Fri, 14 Sep 2012)
Log 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:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (128610 => 128611)
--- trunk/Source/_javascript_Core/ChangeLog 2012-09-14 14:30:58 UTC (rev 128610)
+++ trunk/Source/_javascript_Core/ChangeLog 2012-09-14 14:55:11 UTC (rev 128611)
@@ -1,3 +1,14 @@
+2012-09-14 Kevin Funk <[email protected]>
+
+ 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 <[email protected]>
[BlackBerry] Switching from Slogger to Slogger2 requires changes in CMakeList of
Modified: trunk/Source/_javascript_Core/interpreter/Interpreter.cpp (128610 => 128611)
--- trunk/Source/_javascript_Core/interpreter/Interpreter.cpp 2012-09-14 14:30:58 UTC (rev 128610)
+++ trunk/Source/_javascript_Core/interpreter/Interpreter.cpp 2012-09-14 14:55:11 UTC (rev 128611)
@@ -3610,8 +3610,8 @@
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 @@
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 @@
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();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes