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

Issue 1613853003: dart2js cps: More rewritings for compound assignments. (Closed)

Created:
4 years, 11 months ago by asgerf
Modified:
4 years, 11 months ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

dart2js cps: More rewritings for compound assignments. Compound assignments are now generated for: - SetStatic, previously only supported for SetField, SetIndex, and variable uses. - SetField and SetIndex when the receiver is 'this', previously only supported for variable uses. - String concatenation with >2 arguments, previously only supported with exactly 2 arguments. BUG= R=sra@google.com Committed: https://github.com/dart-lang/sdk/commit/762c41f9e49d56846f9c67cce300f92308a6b7aa

Patch Set 1 #

Total comments: 2

Patch Set 2 : Undo changes to conditionals #

Patch Set 3 : Remove a helper method from the conditionals patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -18 lines) Patch
M pkg/compiler/lib/src/js_backend/codegen/codegen.dart View 1 chunk +1 line, -2 lines 0 comments Download
M pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart View 1 2 5 chunks +52 lines, -15 lines 0 comments Download
M pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 9 (5 generated)
asgerf
Not a big impact, just some missing redexes that were bothering me.
4 years, 11 months ago (2016-01-21 22:45:18 UTC) #3
sra1
LGTM! Most of the differences I see are of the form ++this.field; I suggest landing ...
4 years, 11 months ago (2016-01-22 03:22:04 UTC) #4
asgerf
As you suggested, I am changing this CL to only contain the changes to compound ...
4 years, 11 months ago (2016-01-22 18:54:47 UTC) #7
asgerf
4 years, 11 months ago (2016-01-22 19:22:08 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
762c41f9e49d56846f9c67cce300f92308a6b7aa (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698