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

Issue 14146005: Track representations of fields (Closed)

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

Description

Track representations of fields Committed: https://code.google.com/p/v8/source/detail?r=14464

Patch Set 1 : #

Patch Set 2 : Make double support consistent. Now DOUBLE always contains smi or heapnumber #

Total comments: 1

Patch Set 3 : Replace StorageType with Representation; address other comments. #

Patch Set 4 : Only verify representation while transitioning #

Total comments: 43

Patch Set 5 : Address comments. Use handle in objects.cc Set-functions. #

Patch Set 6 : Mark bug 618 as fixed, remove the code fully #

Patch Set 7 : Keep better track of flags #

Patch Set 8 : X64 port #

Total comments: 22

Patch Set 9 : Addressed comments #

Patch Set 10 : ARM port #

Patch Set 11 : Add test for tracking fields #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1809 lines, -448 lines) Patch
M src/arm/lithium-arm.h View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -2 lines 0 comments Download
M src/arm/lithium-arm.cc View 1 2 3 4 5 6 7 8 9 2 chunks +14 lines, -6 lines 0 comments Download
M src/arm/lithium-codegen-arm.h View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -0 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 3 4 5 6 7 8 9 3 chunks +52 lines, -8 lines 0 comments Download
M src/arm/macro-assembler-arm.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M src/arm/macro-assembler-arm.cc View 1 2 3 4 5 6 7 8 9 1 chunk +12 lines, -0 lines 0 comments Download
M src/arm/stub-cache-arm.cc View 1 2 3 4 5 6 7 8 9 6 chunks +97 lines, -52 lines 0 comments Download
M src/bootstrapper.cc View 1 2 5 chunks +17 lines, -8 lines 0 comments Download
M src/code-stubs-hydrogen.cc View 1 2 2 chunks +8 lines, -4 lines 0 comments Download
M src/flag-definitions.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M src/heap.cc View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M src/hydrogen.cc View 1 2 3 4 5 6 7 8 9 18 chunks +70 lines, -33 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 4 9 chunks +29 lines, -57 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 2 1 chunk +0 lines, -14 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 3 4 3 chunks +71 lines, -7 lines 0 comments Download
M src/ia32/lithium-ia32.h View 1 2 3 4 5 6 7 2 chunks +7 lines, -2 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 1 2 3 4 5 6 7 3 chunks +15 lines, -4 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
M src/ia32/stub-cache-ia32.cc View 1 2 3 4 5 6 7 8 9 6 chunks +80 lines, -35 lines 0 comments Download
M src/ic.cc View 1 2 3 4 14 chunks +82 lines, -6 lines 0 comments Download
M src/json-parser.h View 1 2 3 4 3 chunks +24 lines, -3 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 12 chunks +67 lines, -5 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 8 39 chunks +650 lines, -107 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 5 6 7 8 7 chunks +57 lines, -16 lines 0 comments Download
M src/property.h View 1 2 3 4 9 chunks +25 lines, -10 lines 0 comments Download
M src/property-details.h View 1 2 3 4 5 6 7 8 3 chunks +99 lines, -2 lines 0 comments Download
M src/runtime.cc View 1 2 3 4 5 6 7 8 7 chunks +5 lines, -22 lines 0 comments Download
M src/stub-cache.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/stub-cache.cc View 1 2 3 4 5 6 7 8 3 chunks +21 lines, -4 lines 0 comments Download
M src/transitions.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/x64/lithium-codegen-x64.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 3 4 5 6 7 3 chunks +55 lines, -8 lines 0 comments Download
M src/x64/lithium-x64.h View 1 2 3 4 5 6 7 2 chunks +7 lines, -2 lines 0 comments Download
M src/x64/lithium-x64.cc View 1 2 3 4 5 6 7 3 chunks +14 lines, -4 lines 0 comments Download
M src/x64/macro-assembler-x64.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 2 3 4 5 6 7 1 chunk +13 lines, -0 lines 0 comments Download
M src/x64/stub-cache-x64.cc View 1 2 3 4 5 6 7 8 9 6 chunks +69 lines, -24 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/elements-transition-hoisting.js View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
A test/mjsunit/track-fields.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +101 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Toon Verwaest
PTAL. - Only ia32 for now. - Currently only smi (track_fields) is done. - Double ...
7 years, 8 months ago (2013-04-22 16:09:46 UTC) #1
Toon Verwaest
Addressed comments, PTAL again.
7 years, 8 months ago (2013-04-23 17:01:31 UTC) #2
danno
First round as discussed. https://codereview.chromium.org/14146005/diff/12001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/14146005/diff/12001/src/objects.cc#newcode2052 src/objects.cc:2052: old_target->InvalidateTransitionTree(); nit: How about InvalidateMapTransitionTree()? ...
7 years, 8 months ago (2013-04-24 15:23:00 UTC) #3
danno
more comments https://codereview.chromium.org/14146005/diff/33001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/14146005/diff/33001/src/objects.cc#newcode2172 src/objects.cc:2172: // If fields were added (or removed), ...
7 years, 8 months ago (2013-04-24 16:08:20 UTC) #4
Toon Verwaest
Addressed first set of comments. https://codereview.chromium.org/14146005/diff/33001/src/flag-definitions.h File src/flag-definitions.h (right): https://codereview.chromium.org/14146005/diff/33001/src/flag-definitions.h#newcode194 src/flag-definitions.h:194: DEFINE_bool(track_double_fields, true, "track fields ...
7 years, 8 months ago (2013-04-25 10:59:38 UTC) #5
danno
generally lgtm, but waiting for ARM port https://codereview.chromium.org/14146005/diff/25/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/14146005/diff/25/src/objects.cc#newcode7289 src/objects.cc:7289: int current_offset ...
7 years, 8 months ago (2013-04-25 13:33:48 UTC) #6
Toon Verwaest
Addressed comments. Porting to ARM. https://chromiumcodereview.appspot.com/14146005/diff/33001/src/ia32/stub-cache-ia32.cc File src/ia32/stub-cache-ia32.cc (right): https://chromiumcodereview.appspot.com/14146005/diff/33001/src/ia32/stub-cache-ia32.cc#newcode784 src/ia32/stub-cache-ia32.cc:784: __ mov(scratch1, transition); On ...
7 years, 8 months ago (2013-04-25 14:49:10 UTC) #7
Toon Verwaest
Addressed comments and did ARM port. PTAL again.
7 years, 8 months ago (2013-04-25 16:49:44 UTC) #8
Toon Verwaest
7 years, 8 months ago (2013-04-26 15:32:02 UTC) #9
Message was sent while issue was closed.
Committed patchset #11 manually as r14464 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698