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

Issue 1592713002: Clean up dead code after spread desugaring (Closed)

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

Description

Clean up dead code after spread desugaring After 1564083002, spread expressions are desugared and should not survive in the AST after parsing. This patch removes dead code related to this. It also eliminates the kSpread bailout reason and the concat_iterable_to_array_builtin. R=bmeurer@chromium.org BUG= Committed: https://crrev.com/722909f38ead4e6d2d182a66ab668a93ceb0e6a4 Cr-Commit-Position: refs/heads/master@{#33385}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove dead CONCAT_ITERABLE_TO_ARRAY_BUILTIN #

Patch Set 3 : Fix comment #

Patch Set 4 : Rebase #

Patch Set 5 : Fix bug that visited dead AST node in for/of #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -150 lines) Patch
M src/ast/ast.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/ast/ast-literal-reindexer.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/ast/ast-numbering.cc View 1 chunk +1 line, -5 lines 0 comments Download
M src/bailout-reason.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/compiler/ast-graph-builder.cc View 1 2 3 2 chunks +6 lines, -18 lines 0 comments Download
M src/compiler/ast-loop-assignment-analyzer.cc View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download
M src/compiler/pipeline.cc View 1 1 chunk +0 lines, -7 lines 0 comments Download
M src/contexts.h View 1 3 chunks +1 line, -10 lines 0 comments Download
M src/contexts.cc View 1 1 chunk +0 lines, -10 lines 0 comments Download
M src/crankshaft/hydrogen.cc View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M src/crankshaft/typing.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M src/full-codegen/arm/full-codegen-arm.cc View 2 chunks +4 lines, -9 lines 0 comments Download
M src/full-codegen/arm64/full-codegen-arm64.cc View 2 chunks +4 lines, -9 lines 0 comments Download
M src/full-codegen/ia32/full-codegen-ia32.cc View 2 chunks +4 lines, -9 lines 0 comments Download
M src/full-codegen/mips/full-codegen-mips.cc View 2 chunks +4 lines, -9 lines 0 comments Download
M src/full-codegen/mips64/full-codegen-mips64.cc View 2 chunks +4 lines, -9 lines 0 comments Download
M src/full-codegen/ppc/full-codegen-ppc.cc View 2 chunks +4 lines, -9 lines 0 comments Download
M src/full-codegen/x64/full-codegen-x64.cc View 2 chunks +4 lines, -9 lines 0 comments Download
M src/full-codegen/x87/full-codegen-x87.cc View 2 chunks +4 lines, -9 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 3 1 chunk +1 line, -4 lines 0 comments Download
M src/js/runtime.js View 1 2 chunks +0 lines, -14 lines 0 comments Download

Messages

Total messages: 26 (12 generated)
nickie
4 years, 11 months ago (2016-01-15 10:26:05 UTC) #1
Benedikt Meurer
As per offline discussion: We should be able to drop CONCAT_ITERABLE_TO_ARRAY completely now.
4 years, 11 months ago (2016-01-15 10:32:34 UTC) #2
nickie
On 2016/01/15 10:32:34, Benedikt Meurer wrote: > As per offline discussion: We should be able ...
4 years, 11 months ago (2016-01-18 10:22:57 UTC) #3
Benedikt Meurer
Ok. LGTM.
4 years, 11 months ago (2016-01-18 11:30:31 UTC) #4
nickie
https://codereview.chromium.org/1592713002/diff/1/src/ast/ast-literal-reindexer.cc File src/ast/ast-literal-reindexer.cc (right): https://codereview.chromium.org/1592713002/diff/1/src/ast/ast-literal-reindexer.cc#newcode196 src/ast/ast-literal-reindexer.cc:196: #else Andreas, does this stay?
4 years, 11 months ago (2016-01-18 11:34:45 UTC) #5
nickie
https://codereview.chromium.org/1592713002/diff/1/src/ast/ast-literal-reindexer.cc File src/ast/ast-literal-reindexer.cc (right): https://codereview.chromium.org/1592713002/diff/1/src/ast/ast-literal-reindexer.cc#newcode196 src/ast/ast-literal-reindexer.cc:196: #else On 2016/01/18 11:34:45, nickie wrote: > Andreas, does ...
4 years, 11 months ago (2016-01-18 14:25:39 UTC) #6
nickie
On 2016/01/18 11:30:31, Benedikt Meurer wrote: > Ok. LGTM. PTAL
4 years, 11 months ago (2016-01-18 15:19:20 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1592713002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1592713002/60001
4 years, 11 months ago (2016-01-19 09:31:15 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_avx2_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel/builds/8886) v8_linux64_rel_ng on tryserver.v8 (JOB_FAILED, ...
4 years, 11 months ago (2016-01-19 09:32:06 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1592713002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1592713002/80001
4 years, 11 months ago (2016-01-19 10:10:06 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm_rel/builds/12548)
4 years, 11 months ago (2016-01-19 10:26:07 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1592713002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1592713002/100001
4 years, 11 months ago (2016-01-19 11:40:26 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 11 months ago (2016-01-19 12:05:42 UTC) #24
commit-bot: I haz the power
4 years, 11 months ago (2016-01-19 12:06:37 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/722909f38ead4e6d2d182a66ab668a93ceb0e6a4
Cr-Commit-Position: refs/heads/master@{#33385}

Powered by Google App Engine
This is Rietveld 408576698