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

Issue 1431873006: Use a single Token::INIT for all variable initialization (Closed)

Created:
5 years, 1 month ago by adamk
Modified:
5 years, 1 month ago
CC:
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

Use a single Token::INIT for all variable initialization All uses of Token::INIT also have access to the relevant VariableMode, so there's no reason to have more than one token representing an initializing assignment. Committed: https://crrev.com/462cc3c6f05d1594df89ff62e0d5bc472888f9ff Cr-Commit-Position: refs/heads/master@{#32016}

Patch Set 1 #

Patch Set 2 : Use a single token::INIT everywhere #

Total comments: 4

Patch Set 3 : Fix arm, simplify fvar code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -125 lines) Patch
M src/compiler/ast-graph-builder.cc View 1 10 chunks +15 lines, -15 lines 0 comments Download
M src/crankshaft/hydrogen.cc View 1 2 chunks +8 lines, -9 lines 0 comments Download
M src/full-codegen/arm/full-codegen-arm.cc View 1 2 7 chunks +8 lines, -8 lines 0 comments Download
M src/full-codegen/arm64/full-codegen-arm64.cc View 1 7 chunks +8 lines, -8 lines 0 comments Download
M src/full-codegen/full-codegen.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/full-codegen/ia32/full-codegen-ia32.cc View 1 7 chunks +8 lines, -8 lines 0 comments Download
M src/full-codegen/mips/full-codegen-mips.cc View 1 7 chunks +8 lines, -7 lines 0 comments Download
M src/full-codegen/mips64/full-codegen-mips64.cc View 1 7 chunks +8 lines, -7 lines 0 comments Download
M src/full-codegen/ppc/full-codegen-ppc.cc View 1 7 chunks +8 lines, -8 lines 0 comments Download
M src/full-codegen/x64/full-codegen-x64.cc View 1 7 chunks +8 lines, -8 lines 0 comments Download
M src/full-codegen/x87/full-codegen-x87.cc View 1 7 chunks +8 lines, -8 lines 0 comments Download
M src/parser.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/parser.cc View 1 2 13 chunks +10 lines, -22 lines 0 comments Download
M src/pattern-rewriter.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/preparser.h View 1 3 chunks +5 lines, -7 lines 0 comments Download
M src/token.h View 1 2 chunks +2 lines, -5 lines 0 comments Download

Messages

Total messages: 22 (8 generated)
adamk
5 years, 1 month ago (2015-11-10 19:51:44 UTC) #2
rossberg
I like this change, but I agree that Token is a bit of an odd ...
5 years, 1 month ago (2015-11-12 16:37:00 UTC) #3
Michael Starzinger
On 2015/11/12 16:37:00, rossberg wrote: > I like this change, but I agree that Token ...
5 years, 1 month ago (2015-11-12 16:41:06 UTC) #4
adamk
On 2015/11/12 16:41:06, Michael Starzinger wrote: > On 2015/11/12 16:37:00, rossberg wrote: > > I ...
5 years, 1 month ago (2015-11-13 06:48:52 UTC) #5
rossberg
LGTM. You might want to update the CL description, though. https://codereview.chromium.org/1431873006/diff/20001/src/parser.cc File src/parser.cc (right): https://codereview.chromium.org/1431873006/diff/20001/src/parser.cc#newcode4810 ...
5 years, 1 month ago (2015-11-13 07:55:23 UTC) #6
Michael Starzinger
LGTM on "compiler" and "full-codegen". I like it. https://codereview.chromium.org/1431873006/diff/20001/src/full-codegen/arm/full-codegen-arm.cc File src/full-codegen/arm/full-codegen-arm.cc (right): https://codereview.chromium.org/1431873006/diff/20001/src/full-codegen/arm/full-codegen-arm.cc#newcode2625 src/full-codegen/arm/full-codegen-arm.cc:2625: } ...
5 years, 1 month ago (2015-11-13 08:50:38 UTC) #8
adamk
Updated CL description, handled comments. Will land once the eval test is fixed (by my ...
5 years, 1 month ago (2015-11-13 19:05:50 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1431873006/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1431873006/40001
5 years, 1 month ago (2015-11-13 21:26:54 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/7732)
5 years, 1 month ago (2015-11-13 21:29:25 UTC) #15
adamk
+bmeurer for crankshaft/OWNERS
5 years, 1 month ago (2015-11-13 21:30:47 UTC) #17
Benedikt Meurer
Nice cleanup. LGTM.
5 years, 1 month ago (2015-11-15 18:54:35 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1431873006/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1431873006/40001
5 years, 1 month ago (2015-11-16 16:45:03 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-11-16 17:07:51 UTC) #21
commit-bot: I haz the power
5 years, 1 month ago (2015-11-16 17:08:16 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/462cc3c6f05d1594df89ff62e0d5bc472888f9ff
Cr-Commit-Position: refs/heads/master@{#32016}

Powered by Google App Engine
This is Rietveld 408576698