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

Issue 1538593003: dart2js cps: Backward redundant null check removal (Closed)

Created:
5 years ago by asgerf
Modified:
5 years 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: Backward redundant null check removal. Removes null checks that are follwed by an instruction which performs the same check. BUG= R=sra@google.com Committed: https://github.com/dart-lang/sdk/commit/6857dc81e7eb009688b7da92dd09d535960ae285

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -13 lines) Patch
M pkg/compiler/lib/src/common/names.dart View 2 chunks +5 lines, -1 line 0 comments Download
A pkg/compiler/lib/src/cps_ir/backward_null_check_remover.dart View 1 chunk +131 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_fragment.dart View 1 chunk +14 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/optimizers.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/type_propagation.dart View 1 chunk +0 lines, -12 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/codegen/task.dart View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
asgerf
This doesn't do much without an inlining pass to insert a lot of redundant null ...
5 years ago (2015-12-17 18:43:56 UTC) #2
sra1
LGTM. It would be nice if we had a reverse iterator.
5 years ago (2015-12-17 20:01:52 UTC) #3
asgerf
5 years ago (2015-12-18 15:57:29 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
6857dc81e7eb009688b7da92dd09d535960ae285 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698