Reviewed by mjs.
Fix major Array regression introduced by 28899.
SunSpider claims this is at least 1.37x as fast as pre-regression. :)
* kjs/array_instance.cpp: make Array's fast again!
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28917
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
* kjs/JSImmediate.h:
(KJS::JSImmediate::from):
+2007-12-20 Eric Seidel <eric@webkit.org>
+
+ Reviewed by mjs.
+
+ Fix major Array regression introduced by 28899.
+
+ SunSpider claims this is at least 1.37x as fast as pre-regression. :)
+
+ * kjs/array_instance.cpp: make Array's fast again!
+
2007-12-20 Eric Seidel <eric@webkit.org>
Reviewed by Geoff, then re-rubber-stamped by Geoff after final search/replace and testing.
bool ArrayInstance::getOwnPropertySlot(ExecState* exec, unsigned i, PropertySlot& slot)
{
- return JSObject::getOwnPropertySlot(exec, i, slot);
+ return inlineGetOwnPropertySlot(exec, i, slot);
}
// ECMA 15.4.5.1