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

Issue 1769463002: Allow Crankshaft to tolerate certain do-expressions (Closed)

Created:
4 years, 9 months ago by mvstanton
Modified:
4 years, 9 months 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

Allow Crankshaft to tolerate certain do-expressions Crankshaft can't track operand/environment changes between arbitrary statements. We need that to fully support do-expressions. Instead, a subset is supported by bailing out on break statements, continue statements, and if we've made an OSR entry within a do-expression. This partial support is a good idea because do-expressions are a useful tool for desugaring during parsing. BUG= R=mstarzinger@chromium.org Committed: https://crrev.com/6783854603cf3c4fdfa759f6a3d2fdbf34583623 Cr-Commit-Position: refs/heads/master@{#34491}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Review comments. #

Patch Set 3 : Missed comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -6 lines) Patch
M src/ast/ast-numbering.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/bailout-reason.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/crankshaft/hydrogen.h View 1 3 chunks +19 lines, -0 lines 0 comments Download
M src/crankshaft/hydrogen.cc View 1 2 5 chunks +24 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
mvstanton
Hi Michael, Here is the do-expression work we discussed, thanks! --Mike
4 years, 9 months ago (2016-03-04 09:25:25 UTC) #1
Michael Starzinger
https://codereview.chromium.org/1769463002/diff/1/src/crankshaft/hydrogen.cc File src/crankshaft/hydrogen.cc (right): https://codereview.chromium.org/1769463002/diff/1/src/crankshaft/hydrogen.cc#newcode4057 src/crankshaft/hydrogen.cc:4057: do_expression_scope_count_ = outer_->DoExpressionScopeCount(); Shouldn't the counter start at 0 ...
4 years, 9 months ago (2016-03-04 09:37:28 UTC) #2
mvstanton
Hi, addressed comments, And Benedikt, can you offer a review please? Thanks, --Mike https://codereview.chromium.org/1769463002/diff/1/src/crankshaft/hydrogen.cc File ...
4 years, 9 months ago (2016-03-04 10:02:53 UTC) #4
mvstanton
Missed a few comments, uploaded a new patch. https://codereview.chromium.org/1769463002/diff/1/src/crankshaft/hydrogen.cc File src/crankshaft/hydrogen.cc (right): https://codereview.chromium.org/1769463002/diff/1/src/crankshaft/hydrogen.cc#newcode4842 src/crankshaft/hydrogen.cc:4842: return ...
4 years, 9 months ago (2016-03-04 10:05:29 UTC) #5
Michael Starzinger
LGTM.
4 years, 9 months ago (2016-03-04 10:08:06 UTC) #6
Benedikt Meurer
LGTM (rubber-stamped)
4 years, 9 months ago (2016-03-04 10:59:58 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1769463002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1769463002/40001
4 years, 9 months ago (2016-03-04 11:48:07 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-04 11:50:29 UTC) #10
commit-bot: I haz the power
4 years, 9 months ago (2016-03-04 11:51:59 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6783854603cf3c4fdfa759f6a3d2fdbf34583623
Cr-Commit-Position: refs/heads/master@{#34491}

Powered by Google App Engine
This is Rietveld 408576698