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

Issue 1284233003: dart2js CPS: Fix a bug in commuting binary operations. (Closed)

Created:
5 years, 4 months ago by Kevin Millikin (Google)
Modified:
5 years, 4 months ago
Reviewers:
asgerf
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

dart2js CPS: Fix a bug in commuting binary operations. The Tree IR statement rewriter assumes both operands of a binary operation are variable uses. Either one of them could also be `this`. BUG= R=asgerf@google.com Committed: https://github.com/dart-lang/sdk/commit/b495fceef8a1d7e9918641073f2638ce3b68ae92

Patch Set 1 #

Patch Set 2 : Merge tip of tree. #

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

Messages

Total messages: 4 (1 generated)
Kevin Millikin (Google)
I hit this when implementing inlining. My simple attempt at a test case didn't trigger ...
5 years, 4 months ago (2015-08-14 10:55:43 UTC) #2
asgerf
LGTM.
5 years, 4 months ago (2015-08-14 13:53:36 UTC) #3
Kevin Millikin (Google)
5 years, 4 months ago (2015-08-17 09:17:59 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
b495fceef8a1d7e9918641073f2638ce3b68ae92 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698