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

Issue 1348233002: dart2js cps: Set receiver-nullability in analysis pass. (Closed)

Created:
5 years, 3 months ago by asgerf
Modified:
5 years, 3 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: Set receiver-nullability in analysis pass. Setting receiverIsNotNull, objectIsNotNull in the analysis pass simplifies the transformation pass since predicates like 'isSafeForElimination' depend on them. This would prevent constant folding of array lengths since GetLength was not marked as safe for elimination at the time it was considered for constant folding. BUG= R=kmillikin@google.com Committed: https://github.com/dart-lang/sdk/commit/8c6b990305c8d0d3111ff870deaa2bc2c0adef11

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -15 lines) Patch
M pkg/compiler/lib/src/cps_ir/type_propagation.dart View 8 chunks +6 lines, -15 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
asgerf
5 years, 3 months ago (2015-09-16 15:07:10 UTC) #2
Kevin Millikin (Google)
LGTM. I'm always surprised that the analysis implementation is after the transformation implementation in this ...
5 years, 3 months ago (2015-09-17 10:25:15 UTC) #3
asgerf
5 years, 3 months ago (2015-09-21 10:43:31 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
8c6b990305c8d0d3111ff870deaa2bc2c0adef11 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698