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

Issue 1487603003: [cleanup] Remove redundant fields from DeclarationDescriptor (Closed)

Created:
5 years ago by adamk
Modified:
5 years ago
Reviewers:
Dan Ehrenberg, rossberg
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

[cleanup] Remove redundant fields from DeclarationDescriptor Both the is_const and declaration_scope fields can be reliably derived from the mode field. needs_init cannot be, unfortunately, due to the special case of CONST in for loops. Also inline the sole remaining non-trivial caller of Parser::DeclarationScope(VariableMode). Committed: https://crrev.com/bc7d63ccef37bb6511e9bc0075518b982b94ab05 Cr-Commit-Position: refs/heads/master@{#32536}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -23 lines) Patch
M src/parsing/parser.h View 2 chunks +0 lines, -6 lines 0 comments Download
M src/parsing/parser.cc View 7 chunks +7 lines, -12 lines 0 comments Download
M src/parsing/pattern-rewriter.cc View 3 chunks +7 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
adamk
5 years ago (2015-12-01 00:32:00 UTC) #2
adamk
+littledan
5 years ago (2015-12-02 22:25:12 UTC) #5
adamk
+littledan
5 years ago (2015-12-02 22:25:12 UTC) #6
Dan Ehrenberg
lgtm
5 years ago (2015-12-02 22:37:42 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1487603003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1487603003/1
5 years ago (2015-12-02 22:39:35 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-12-02 23:57:34 UTC) #10
commit-bot: I haz the power
5 years ago (2015-12-02 23:58:37 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/bc7d63ccef37bb6511e9bc0075518b982b94ab05
Cr-Commit-Position: refs/heads/master@{#32536}

Powered by Google App Engine
This is Rietveld 408576698