Optimized o[s] where o is a cell and s is a string, removing some old
authorggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 May 2010 02:18:45 +0000 (02:18 +0000)
committerggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 May 2010 02:18:45 +0000 (02:18 +0000)
commit17c262afbe1f235b7d5a69d0df679b4857ec5dbc
treee7477f6758323200d5443b01fc573ff73ef01187
parentb8062dd96a6afa405a6055eaa72c8103b20194f0
Optimized o[s] where o is a cell and s is a string, removing some old
code that wasn't really tuned for the JIT.

Reviewed by Darin Adler.

SunSpider says 0.8% faster.

* jit/JITStubs.cpp:
(JSC::DEFINE_STUB_FUNCTION):
* runtime/JSCell.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@58990 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/jit/JITStubs.cpp
JavaScriptCore/runtime/JSCell.h