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

Issue 2578573002: Add unittests to keep InstanceType lists in sync (Closed)

Created:
4 years ago by Camillo Bruni
Modified:
4 years ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Add unittests to keep InstanceType lists in sync STRUCT_LIST and INSTANCE_TYPE_LIST are now forced to have the same order as the InstanceType enum. Drive-by-fix 1: Move type check and cast functions closer together in objects-inl.h Drive-by-fix 2: Remove unused instance types SIGNATURE_INFO_TYPE and TYPE_SWITCH_INFO_TYPE. BUG= Review-Url: https://codereview.chromium.org/2578573002 Cr-Commit-Position: refs/heads/master@{#41804} Committed: https://chromium.googlesource.com/v8/v8/+/c0282f608c381152ce5d3614ebd83ca3263e2de9

Patch Set 1 #

Patch Set 2 : removing unused instance types #

Patch Set 3 : merge with master #

Patch Set 4 : merge with master #

Patch Set 5 : lemme fix this constant #

Patch Set 6 : rebase rebase rebase #

Patch Set 7 : rebase rebase rebase #

Patch Set 8 : merge with master #

Patch Set 9 : fix merge artifacts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+712 lines, -746 lines) Patch
M include/v8.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M src/ast/ast-types.cc View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M src/compiler/types.cc View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 12 chunks +49 lines, -57 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 5 6 7 8 8 chunks +601 lines, -683 lines 0 comments Download
M test/unittests/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M test/unittests/heap/heap-unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
A test/unittests/object-unittest.cc View 1 chunk +57 lines, -0 lines 0 comments Download
M test/unittests/unittests.gyp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 71 (56 generated)
Camillo Bruni
PTAL
4 years ago (2016-12-15 14:37:47 UTC) #10
jochen (gone - plz use gerrit)
lgtm
4 years ago (2016-12-16 09:24:18 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2578573002/20001
4 years ago (2016-12-16 09:29:45 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/30753)
4 years ago (2016-12-16 09:32:44 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2578573002/40001
4 years ago (2016-12-16 11:32:03 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/30785)
4 years ago (2016-12-16 11:34:54 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2578573002/100001
4 years ago (2016-12-16 14:28:10 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/30826)
4 years ago (2016-12-16 14:31:19 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2578573002/160001
4 years ago (2016-12-19 10:43:19 UTC) #60
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/30929)
4 years ago (2016-12-19 10:46:47 UTC) #62
Camillo Bruni
marja@ PTAL src/ast/* epertoso@ PTAL src/compiler/*
4 years ago (2016-12-19 11:35:26 UTC) #64
marja
On 2016/12/19 11:35:26, Camillo Bruni wrote: > marja@ PTAL src/ast/* > epertoso@ PTAL src/compiler/* ast ...
4 years ago (2016-12-19 11:37:31 UTC) #65
epertoso
compiler lgtm
4 years ago (2016-12-19 11:51:22 UTC) #66
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2578573002/160001
4 years ago (2016-12-19 12:48:05 UTC) #68
commit-bot: I haz the power
4 years ago (2016-12-19 12:50:36 UTC) #71
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/v8/v8/+/c0282f608c381152ce5d3614ebd83ca3263...

Powered by Google App Engine
This is Rietveld 408576698