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

Issue 10780031: Grouping all map creation code. (Closed)

Created:
8 years, 5 months ago by Toon Verwaest
Modified:
8 years, 5 months ago
Reviewers:
Jakob Kummerow
CC:
v8-dev
Visibility:
Public.

Description

Grouping all map creation code. - Now tunnel all descriptor changes through methods on the map - Renamed CopyDropTransitions to regular Copy since we always "drop transitions" on copy anyway. - Merged and moved elements transition map creation. Committed: https://code.google.com/p/v8/source/detail?r=12105

Patch Set 1 #

Total comments: 3

Patch Set 2 : Addressing comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+237 lines, -277 lines) Patch
M src/api.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/bootstrapper.cc View 5 chunks +5 lines, -6 lines 0 comments Download
M src/factory.h View 1 chunk +1 line, -2 lines 0 comments Download
M src/factory.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M src/handles.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/heap.cc View 1 1 chunk +12 lines, -14 lines 0 comments Download
M src/objects.h View 4 chunks +24 lines, -14 lines 0 comments Download
M src/objects.cc View 19 chunks +168 lines, -205 lines 0 comments Download
M src/objects-inl.h View 2 chunks +4 lines, -4 lines 0 comments Download
M src/runtime.cc View 1 4 chunks +19 lines, -26 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Toon Verwaest
PTAL. Main new methods are: - Map::CopyAsElementsKind (from CreateNextElementsTransition) - Map::Copy(Add|Insert|Replace)Descriptor All those methods now ...
8 years, 5 months ago (2012-07-17 12:35:19 UTC) #1
Jakob Kummerow
LGTM with nits. https://chromiumcodereview.appspot.com/10780031/diff/1/src/heap.cc File src/heap.cc (right): https://chromiumcodereview.appspot.com/10780031/diff/1/src/heap.cc#newcode3717 src/heap.cc:3717: { MaybeObject* maybe_prototype = AllocateJSObjectFromMap(new_map); nit: ...
8 years, 5 months ago (2012-07-17 13:43:10 UTC) #2
Toon Verwaest
8 years, 5 months ago (2012-07-17 13:48:16 UTC) #3
Addressed comments.

Powered by Google App Engine
This is Rietveld 408576698