Reviewers: sandholm,

Description:
Change order of operations in array functions to match the specification.

In particular, read and convert the lenght to uint32 as the first step in
most functions, so that if that operation throws, it does so before any
other step has a chance to fail.

Fixes issue 75562.

BUG=75562
TEST=mjsunit/regress/regress-75562

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

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

Affected files:
  M src/array.js
  A test/mjsunit/regress/regress-75562.js


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

Reply via email to