Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Issue 601092: Adding checks for the cases when array grows too big. (Closed)

Created:
10 years, 10 months ago by antonm
Modified:
9 years, 4 months ago
CC:
v8-dev
Visibility:
Public.

Description

Adding checks for the cases when array grows too big. Committed: http://code.google.com/p/v8/source/detail?r=3887

Patch Set 1 #

Total comments: 6

Patch Set 2 : Turning checks into asserts as per Mad's suggestion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -0 lines) Patch
M src/builtins.cc View 1 3 chunks +11 lines, -0 lines 0 comments Download
M test/mjsunit/array-splice.js View 1 1 chunk +19 lines, -0 lines 0 comments Download
M test/mjsunit/array-unshift.js View 1 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
antonm
Mads, here promised CL. Technically that fixes a bug in ArrayPush (then you have an ...
10 years, 10 months ago (2010-02-17 12:04:06 UTC) #1
antonm
Resending---first time I forgot to add you as a reviewer, sorry.
10 years, 10 months ago (2010-02-17 12:06:39 UTC) #2
Mads Ager (chromium)
As discussed offline, we don't actually need the checks because we cannot allocate a fixed ...
10 years, 10 months ago (2010-02-17 12:35:49 UTC) #3
antonm
Thanks a lot, Mads. http://codereview.chromium.org/601092/diff/1/3 File test/mjsunit/array-splice.js (right): http://codereview.chromium.org/601092/diff/1/3#newcode289 test/mjsunit/array-splice.js:289: if (false) // Disabled, takes ...
10 years, 10 months ago (2010-02-17 12:50:15 UTC) #4
Mads Ager (chromium)
10 years, 10 months ago (2010-02-17 13:02:01 UTC) #5
LGTM, thanks.

Powered by Google App Engine
This is Rietveld 408576698