2008-05-21 Maciej Stachowiak <mjs@apple.com>
authormjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 May 2008 02:03:39 +0000 (02:03 +0000)
committermjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 May 2008 02:03:39 +0000 (02:03 +0000)
commitdfde589a967f939abce0ae139e054af6fe9020d2
tree23757f96a1227917afb8bc2468aa1cc13e0c7f61
parentd3bf36406c5ef5163ef0e5444199ea6bde9010c2
2008-05-21  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Darin.

        - save a hash lookup wne writing to global properties
        0.3% speedup on SunSpider, 7% on bitops-bitwise-and

        * VM/Machine.cpp:
        (KJS::resolveBase): Check for being a the end of the scope chain
        before hash lookup.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33983 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/VM/Machine.cpp