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

Issue 1291073002: dart2js cps: Add logical rewriter rules to favor null-aware operators. (Closed)

Created:
5 years, 4 months ago by asgerf
Modified:
5 years, 4 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: Add logical rewriter rules to favor null-aware operators. These useful patterns arise with null-aware operators: x ? y : x ==> x && y x ? x : y ==> x || y BUG= R=kmillikin@google.com Committed: https://github.com/dart-lang/sdk/commit/0e46c8dec97d5ab10c06900c67eeceb1f3e065ba Committed: https://github.com/dart-lang/sdk/commit/d3d7de8c125614c31506aa5898054bddb6082249

Patch Set 1 #

Patch Set 2 : Revert + Unrevert #

Patch Set 3 : Fix reference count #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -0 lines) Patch
M pkg/compiler/lib/src/tree_ir/optimization/logical_rewriter.dart View 1 2 3 chunks +41 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
asgerf
5 years, 4 months ago (2015-08-13 13:59:42 UTC) #2
Kevin Millikin (Google)
lgtm
5 years, 4 months ago (2015-08-14 09:20:27 UTC) #3
asgerf
Committed patchset #1 (id:1) manually as 0e46c8dec97d5ab10c06900c67eeceb1f3e065ba (presubmit successful).
5 years, 4 months ago (2015-08-14 10:07:43 UTC) #4
asgerf
PTAL, forgot to update reference count.
5 years, 4 months ago (2015-08-14 13:49:28 UTC) #5
asgerf
5 years, 4 months ago (2015-08-18 09:09:05 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
d3d7de8c125614c31506aa5898054bddb6082249 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698