Reviewers: Vladislav Kaznacheev,

Description:
Make StringCharCodeAt runtime function do what it name implies and not
just indexed string access.

The difference is that String.prototype.charCodeAt accepts any number
as an index, whereas string[] only accepts array indices.

Please review this at http://codereview.chromium.org/2467006/show

Affected files:
  M src/runtime.h
  M src/runtime.cc
  M test/mjsunit/string-charat.js
  M test/mjsunit/string-charcodeat.js


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

Reply via email to