2008-09-09 Maciej Stachowiak <mjs@apple.com>
authormjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Sep 2008 07:58:53 +0000 (07:58 +0000)
committermjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Sep 2008 07:58:53 +0000 (07:58 +0000)
commit0de549e9e90da9cf90ba8c303119972b8fb2be7f
tree6d76a4bf2236cfa3368b779c26af325d25287f89
parent2229430366864e0c02e97331aa50d4f53690a468
2008-09-09  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Sam Weinig.

        - allow polymorphic inline cache to handle Math object functions and possibly other similar things

        1.012x speedup on SunSpider.

        * kjs/MathObject.cpp:
        (JSC::MathObject::getOwnPropertySlot):
        * kjs/lookup.cpp:
        (JSC::setUpStaticFunctionSlot):
        * kjs/lookup.h:
        (JSC::getStaticPropertySlot):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@36286 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/MathObject.cpp
JavaScriptCore/kjs/lookup.cpp
JavaScriptCore/kjs/lookup.h