2008-07-02 Geoffrey Garen <ggaren@apple.com>
authorggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 Jul 2008 00:47:00 +0000 (00:47 +0000)
committerggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 Jul 2008 00:47:00 +0000 (00:47 +0000)
commit4787a4ac5e4f8e83d1c5c2086f93d2061606c49c
treee178b9954f6cb3c3ea4cb7e1d0300e2937860170
parent8f306d1bfa54b6b82664935410b6a8b33eb9197d
2008-07-02  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Oliver Hunt.

        Optimized a[n] get for cases where a is an array or a string, and a[n]
        put for cases where a is an array.

        SunSpider says 9.0% faster.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@34964 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/VM/Machine.cpp
JavaScriptCore/VM/Machine.h
JavaScriptCore/kjs/JSArray.cpp
JavaScriptCore/kjs/JSArray.h
JavaScriptCore/kjs/JSCell.h
JavaScriptCore/kjs/JSString.h
JavaScriptCore/kjs/JSValue.h