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

Issue 2267223002: [cleanup] Eliminate Forgive* methods on ExpressionClassifier (Closed)

Created:
4 years, 4 months ago by adamk
Modified:
4 years, 4 months ago
CC:
nickie, 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] Eliminate Forgive* methods on ExpressionClassifier The only two places where these Forgive methods were called was in ParseAssignmentExpression just at the time we were calling Accumulate(). So instead of Forgiving, we can simply not accumulate the bits that would have been forgiven. Also slightly restructures the nearby code in ParseAssignmentExpression, and removes the use of non-const references in ExpressionClassifier. Committed: https://crrev.com/1bf952072f36c12f9d3080100dad09f7b8423423 Cr-Commit-Position: refs/heads/master@{#38839}

Patch Set 1 #

Patch Set 2 : Rebased #

Total comments: 2

Patch Set 3 : Move Pattern production logic around #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -31 lines) Patch
M src/parsing/expression-classifier.h View 1 2 chunks +1 line, -15 lines 0 comments Download
M src/parsing/parser-base.h View 1 2 3 chunks +30 lines, -16 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
adamk
4 years, 4 months ago (2016-08-23 00:32:13 UTC) #5
nickie
LGTM (for all that it's worth), with one suggestion. https://codereview.chromium.org/2267223002/diff/20001/src/parsing/parser-base.h File src/parsing/parser-base.h (right): https://codereview.chromium.org/2267223002/diff/20001/src/parsing/parser-base.h#newcode2385 src/parsing/parser-base.h:2385: ...
4 years, 4 months ago (2016-08-23 08:24:27 UTC) #9
Dan Ehrenberg
lgtm
4 years, 4 months ago (2016-08-23 15:40:05 UTC) #10
gsathya
lgtm
4 years, 4 months ago (2016-08-23 15:53:09 UTC) #11
adamk
https://codereview.chromium.org/2267223002/diff/20001/src/parsing/parser-base.h File src/parsing/parser-base.h (right): https://codereview.chromium.org/2267223002/diff/20001/src/parsing/parser-base.h#newcode2385 src/parsing/parser-base.h:2385: ExpressionClassifier::LetPatternProduction | On 2016/08/23 08:24:27, nickie wrote: > I'd ...
4 years, 4 months ago (2016-08-23 18:02:32 UTC) #12
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/2267223002/40001
4 years, 4 months ago (2016-08-23 18:02:59 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-23 18:27:20 UTC) #17
commit-bot: I haz the power
4 years, 4 months ago (2016-08-23 18:27:34 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/1bf952072f36c12f9d3080100dad09f7b8423423
Cr-Commit-Position: refs/heads/master@{#38839}

Powered by Google App Engine
This is Rietveld 408576698