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)
commit929f4a74ff0f541b84c1939c4f2e70c25109a85d
tree23757f96a1227917afb8bc2468aa1cc13e0c7f61
parent5526789b59d462c61a1eccc85577e1cffa40f1be
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: https://svn.webkit.org/repository/webkit/trunk@33983 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/VM/Machine.cpp