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

Issue 15504002: Array.observe emit splices for array length change and update index >= length (Closed)

Created:
7 years, 7 months ago by rafaelw
Modified:
7 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Array.observe emit splices for array length change and update index >= length R=adamk@chromium.org, rossberg@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=14944

Patch Set 1 #

Patch Set 2 : remove todos #

Total comments: 18

Patch Set 3 : cr changes #

Patch Set 4 : take JSArrays #

Patch Set 5 : missed header files (JSArray) #

Total comments: 17

Patch Set 6 : cr comments #

Total comments: 2

Patch Set 7 : whitespace #

Total comments: 23

Patch Set 8 : cr changes #

Patch Set 9 : cr comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+221 lines, -39 lines) Patch
M src/bootstrapper.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M src/contexts.h View 2 chunks +8 lines, -0 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 8 5 chunks +102 lines, -16 lines 0 comments Download
M src/v8natives.js View 1 2 3 4 5 chunks +38 lines, -15 lines 0 comments Download
M test/mjsunit/harmony/object-observe.js View 1 2 3 4 5 6 7 8 6 chunks +68 lines, -8 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
rafaelw
7 years, 7 months ago (2013-05-20 22:50:07 UTC) #1
adamk
https://codereview.chromium.org/15504002/diff/2001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/15504002/diff/2001/src/objects.cc#newcode1993 src/objects.cc:1993: uint32_t index, Nit: indentation seems off here. https://codereview.chromium.org/15504002/diff/2001/src/objects.cc#newcode1999 src/objects.cc:1999: ...
7 years, 7 months ago (2013-05-20 23:13:12 UTC) #2
rafaelw
All done. https://codereview.chromium.org/15504002/diff/2001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/15504002/diff/2001/src/objects.cc#newcode1993 src/objects.cc:1993: uint32_t index, On 2013/05/20 23:13:13, adamk wrote: ...
7 years, 7 months ago (2013-05-20 23:52:06 UTC) #3
adamk
https://codereview.chromium.org/15504002/diff/2001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/15504002/diff/2001/src/objects.cc#newcode1999 src/objects.cc:1999: if (object->IsJSGlobalObject()) { On 2013/05/20 23:52:06, rafaelw wrote: > ...
7 years, 7 months ago (2013-05-21 19:11:11 UTC) #4
rafaelw
ptal https://codereview.chromium.org/15504002/diff/2001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/15504002/diff/2001/src/objects.cc#newcode1999 src/objects.cc:1999: if (object->IsJSGlobalObject()) { These only get called from ...
7 years, 7 months ago (2013-05-23 18:19:58 UTC) #5
adamk
https://codereview.chromium.org/15504002/diff/16001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/15504002/diff/16001/src/objects.cc#newcode1992 src/objects.cc:1992: v8 style nit: need two blank lines between functions. ...
7 years, 7 months ago (2013-05-24 00:15:30 UTC) #6
rafaelw
https://codereview.chromium.org/15504002/diff/16001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/15504002/diff/16001/src/objects.cc#newcode1992 src/objects.cc:1992: On 2013/05/24 00:15:30, adamk wrote: > v8 style nit: ...
7 years, 7 months ago (2013-05-24 19:11:42 UTC) #7
adamk
lgtm with one more whitespace nit (will of course need review from rossberg) https://codereview.chromium.org/15504002/diff/23001/src/objects.cc File ...
7 years, 7 months ago (2013-05-24 21:39:34 UTC) #8
rafaelw
https://codereview.chromium.org/15504002/diff/23001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/15504002/diff/23001/src/objects.cc#newcode10951 src/objects.cc:10951: On 2013/05/24 21:39:35, adamk wrote: > needs moar whitespace ...
7 years, 7 months ago (2013-05-24 21:54:52 UTC) #9
rossberg
https://codereview.chromium.org/15504002/diff/33001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/15504002/diff/33001/src/objects.cc#newcode11031 src/objects.cc:11031: uint32_t add_count = new_length > old_length ? new_length - ...
7 years, 7 months ago (2013-05-27 14:48:41 UTC) #10
rafaelw
PTAL. Also, please land if lgtm. https://codereview.chromium.org/15504002/diff/33001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/15504002/diff/33001/src/objects.cc#newcode11031 src/objects.cc:11031: uint32_t add_count = ...
7 years, 7 months ago (2013-05-28 11:38:53 UTC) #11
rafaelw
ping
7 years, 6 months ago (2013-05-31 17:23:26 UTC) #12
rossberg
LGTM with one comment. (Adam, please feel free to land should I not be around ...
7 years, 6 months ago (2013-06-04 10:56:58 UTC) #13
rafaelw
https://codereview.chromium.org/15504002/diff/33001/test/mjsunit/harmony/object-observe.js File test/mjsunit/harmony/object-observe.js (right): https://codereview.chromium.org/15504002/diff/33001/test/mjsunit/harmony/object-observe.js#newcode1005 test/mjsunit/harmony/object-observe.js:1005: { object: arr3, name: 'length', type: 'reconfigured' } On ...
7 years, 6 months ago (2013-06-04 23:42:21 UTC) #14
adamk
7 years, 6 months ago (2013-06-04 23:59:12 UTC) #15
Message was sent while issue was closed.
Committed patchset #9 manually as r14944 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698