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

Issue 223533002: Don't overwrite transition array map while iterating over the transition tree. (Closed)

Created:
6 years, 8 months ago by Hannes Payer (out of office)
Modified:
6 years, 8 months ago
CC:
v8-dev
Visibility:
Public.

Description

Don't overwrite transition array map while iterating over the transition tree. Instread of using the transition array map to store the iteration index, we are using the constructor field of the map. Moreover, I removed the unchecked transition array accessors. BUG= R=mstarzinger@chromium.org, verwaest@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=20503

Patch Set 1 #

Patch Set 2 : #

Total comments: 14

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -90 lines) Patch
M src/objects.h View 1 chunk +0 lines, -3 lines 0 comments Download
M src/objects.cc View 1 2 3 4 chunks +75 lines, -58 lines 0 comments Download
M src/objects-inl.h View 1 chunk +0 lines, -17 lines 0 comments Download
M src/objects-visiting-inl.h View 1 chunk +2 lines, -5 lines 0 comments Download
M src/transitions.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/transitions-inl.h View 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Hannes Payer (out of office)
6 years, 8 months ago (2014-04-03 08:12:16 UTC) #1
Hannes Payer (out of office)
I think I can also take advantage of the back pointer - no need to ...
6 years, 8 months ago (2014-04-03 08:38:03 UTC) #2
Hannes Payer (out of office)
The back pointer simplification does not work, since maps in the prototype transition array do ...
6 years, 8 months ago (2014-04-03 10:45:25 UTC) #3
Toon Verwaest
Overall looks good to me, but can you please ASSERT that all constructors are actually ...
6 years, 8 months ago (2014-04-03 11:06:23 UTC) #4
Michael Starzinger
LGTM (👀👍). I like it. Just a couple of nits. Only one real suggestion about ...
6 years, 8 months ago (2014-04-03 13:07:36 UTC) #5
Hannes Payer (out of office)
https://codereview.chromium.org/223533002/diff/20001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/223533002/diff/20001/src/objects.cc#newcode7251 src/objects.cc:7251: explicit IntrusiveMapTransitionIterator( On 2014/04/03 13:07:37, Michael Starzinger wrote: > ...
6 years, 8 months ago (2014-04-03 20:01:34 UTC) #6
Toon Verwaest
lgtm
6 years, 8 months ago (2014-04-04 09:10:53 UTC) #7
Hannes Payer (out of office)
6 years, 8 months ago (2014-04-04 09:25:46 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 manually as r20503 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698