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

Issue 10455005: TraversableMap only dependent on DescriptorArray (Closed)

Created:
8 years, 7 months ago by Toon Verwaest
Modified:
8 years, 6 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

TraversableMap only dependent on DescriptorArray This is the first step towards merging the ContentArray into the DescriptorArray, (hence reclaiming 3 words per descriptor array). Committed: https://code.google.com/p/v8/source/detail?r=11682

Patch Set 1 #

Patch Set 2 : fixing iteration bug that made tests run slow #

Patch Set 3 : Removed assert since it increased brittleness. It assumed that the map transition iterator was neveā€¦ #

Total comments: 2

Patch Set 4 : fixing indent #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/objects.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
Toon Verwaest
The added patch fixes the iteration bug introduced in the second patch of the original ...
8 years, 7 months ago (2012-05-25 16:28:08 UTC) #1
Michael Starzinger
8 years, 6 months ago (2012-05-30 13:28:55 UTC) #2
LGTM (if one nit is addressed).

https://chromiumcodereview.appspot.com/10455005/diff/6001/src/objects.cc
File src/objects.cc (right):

https://chromiumcodereview.appspot.com/10455005/diff/6001/src/objects.cc#newc...
src/objects.cc:5130: *DescriptorArrayHeader() = Smi::FromInt(raw_index);
Indentation seems off.

https://chromiumcodereview.appspot.com/10455005/diff/6001/src/objects.cc#newc...
src/objects.cc:5306: }
Just out of curiosity: What is the difference between whether we iterate
prototype transitions or descriptor transitions first?

Powered by Google App Engine
This is Rietveld 408576698