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

Issue 1636013002: Replace HeapType with a non-templated FieldType class. (Closed)

Created:
4 years, 11 months ago by Jarin
Modified:
4 years, 11 months ago
Reviewers:
Benedikt Meurer
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-x87-ports_googlegroups.com, v8-ppc-ports_googlegroups.com, rossberg
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Replace HeapType with a non-templated FieldType class. This replace HeapType with a dedicated class that implements just what we need for field type tracking. In the next CL, I plan to remove FieldType::Iterator because FieldType can iterate over at most one map. The ultimate plan is to get rid of templates in types.(h|cc) and remove type-inl.h. TBR=rossberg@chromium.org Committed: https://crrev.com/cfaeb63b6825ef87e499b0c7beb09b475dcf5acc Cr-Commit-Position: refs/heads/master@{#33521}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Fix tracing of generalizations #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+476 lines, -839 lines) Patch
M src/compiler/access-info.cc View 2 chunks +2 lines, -6 lines 0 comments Download
M src/crankshaft/hydrogen.h View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/hydrogen.cc View 1 2 chunks +6 lines, -6 lines 0 comments Download
M src/crankshaft/hydrogen-types.h View 2 chunks +5 lines, -2 lines 0 comments Download
M src/crankshaft/hydrogen-types.cc View 1 chunk +13 lines, -19 lines 2 comments Download
M src/ic/arm/handler-compiler-arm.cc View 2 chunks +2 lines, -3 lines 2 comments Download
M src/ic/arm64/handler-compiler-arm64.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M src/ic/handler-compiler.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/ic/handler-compiler.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M src/ic/ia32/handler-compiler-ia32.cc View 2 chunks +2 lines, -3 lines 1 comment Download
M src/ic/ic.cc View 1 1 chunk +2 lines, -2 lines 1 comment Download
M src/ic/mips/handler-compiler-mips.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M src/ic/mips64/handler-compiler-mips64.cc View 1 2 chunks +2 lines, -3 lines 0 comments Download
M src/ic/ppc/handler-compiler-ppc.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M src/ic/x64/handler-compiler-x64.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M src/ic/x87/handler-compiler-x87.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M src/list.h View 1 chunk +2 lines, -4 lines 0 comments Download
M src/lookup.h View 1 chunk +1 line, -1 line 0 comments Download
M src/lookup.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/objects.h View 1 7 chunks +17 lines, -25 lines 0 comments Download
M src/objects.cc View 1 2 28 chunks +96 lines, -94 lines 0 comments Download
M src/objects-debug.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/objects-inl.h View 1 1 chunk +3 lines, -4 lines 0 comments Download
M src/parsing/json-parser.h View 1 chunk +1 line, -1 line 0 comments Download
M src/property.h View 1 chunk +1 line, -1 line 0 comments Download
M src/types.h View 1 4 chunks +51 lines, -76 lines 0 comments Download
M src/types.cc View 1 3 chunks +91 lines, -67 lines 0 comments Download
M src/types-inl.h View 1 chunk +0 lines, -201 lines 0 comments Download
M test/cctest/heap/test-heap.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M test/cctest/test-field-type-tracking.cc View 48 chunks +122 lines, -138 lines 0 comments Download
M test/cctest/test-transitions.cc View 6 chunks +27 lines, -27 lines 0 comments Download
M test/cctest/test-types.cc View 3 chunks +2 lines, -122 lines 0 comments Download
M test/cctest/test-unboxed-doubles.cc View 6 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
Jarin
Could you take a look, please?
4 years, 11 months ago (2016-01-26 12:59:36 UTC) #3
Benedikt Meurer
Kill it with fire! LGTM (feel free to defer/ignore comments) https://codereview.chromium.org/1636013002/diff/40001/src/crankshaft/hydrogen-types.cc File src/crankshaft/hydrogen-types.cc (right): https://codereview.chromium.org/1636013002/diff/40001/src/crankshaft/hydrogen-types.cc#newcode31 ...
4 years, 11 months ago (2016-01-26 14:22:47 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1636013002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1636013002/40001
4 years, 11 months ago (2016-01-26 14:28:46 UTC) #6
Jarin
https://codereview.chromium.org/1636013002/diff/40001/src/crankshaft/hydrogen-types.cc File src/crankshaft/hydrogen-types.cc (right): https://codereview.chromium.org/1636013002/diff/40001/src/crankshaft/hydrogen-types.cc#newcode31 src/crankshaft/hydrogen-types.cc:31: HType HType::FromFieldType(Handle<FieldType> type, Zone* temp_zone) { On 2016/01/26 14:22:47, ...
4 years, 11 months ago (2016-01-26 14:30:41 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 11 months ago (2016-01-26 15:03:45 UTC) #10
commit-bot: I haz the power
4 years, 11 months ago (2016-01-26 15:04:07 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/cfaeb63b6825ef87e499b0c7beb09b475dcf5acc
Cr-Commit-Position: refs/heads/master@{#33521}

Powered by Google App Engine
This is Rietveld 408576698