Reviewers: Kasper Lund, Kevin Millikin,

Description:
Improve keyed loads on strings by using a new stub.

Instead of going through a runtime function for keyed loads
on strings we invoke a separate specialized stub that
assumes string as receiver type and the key to be a number.

The stub calls a JS builtin function to return the corresponding one-character
string.



Please review this at http://codereview.chromium.org/521041

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/builtins.h
  M     src/builtins.cc
  M     src/ia32/ic-ia32.cc
  M     src/ic.h
  M     src/ic.cc
  M     src/runtime.h
  M     src/runtime.cc
  M     src/runtime.js


-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to