From: eric@webkit.org Date: Thu, 20 Dec 2007 23:43:39 +0000 (+0000) Subject: 2007-12-20 Eric Seidel X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=commitdiff_plain;h=963cc5a8d24ce422253168bf4d244017f1c50bb4 2007-12-20 Eric Seidel 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 --- diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog index 94a13e9d848d..c0acba0c31b0 100644 --- a/JavaScriptCore/ChangeLog +++ b/JavaScriptCore/ChangeLog @@ -9,6 +9,16 @@ * kjs/JSImmediate.h: (KJS::JSImmediate::from): +2007-12-20 Eric Seidel + + 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 Reviewed by Geoff, then re-rubber-stamped by Geoff after final search/replace and testing. diff --git a/JavaScriptCore/kjs/array_instance.cpp b/JavaScriptCore/kjs/array_instance.cpp index a9bca3c0d7e7..49c728ec844f 100644 --- a/JavaScriptCore/kjs/array_instance.cpp +++ b/JavaScriptCore/kjs/array_instance.cpp @@ -180,7 +180,7 @@ bool ArrayInstance::getOwnPropertySlot(ExecState* exec, const Identifier& proper 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