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

Issue 2657453004: dart2js: Redo known-type analysis after load-elimination (Closed)

Created:
3 years, 11 months ago by sra1
Modified:
3 years, 10 months ago
CC:
reviews_dartlang.org, ferhat
Target Ref:
refs/heads/master
Visibility:
Public.

Description

dart2js: Redo known-type analysis after load-elimination Code like if (this.field is X) { (this.field as X)... } after GVN and/or load-elimination becomes t1 = this.field; if (t1 is X) { (t1 as X)... } so it is worth redoing the analysis that allows the elimination of guaranteed-to-succeed 'as' check. About 5% of the as-checks in a large app are optimized out with this change. R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/8b1f285c69e927146259adcaadb07e36d3829d44

Patch Set 1 #

Patch Set 2 : fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M pkg/compiler/lib/src/ssa/optimize.dart View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
sra1
I'll commit after the 1.22 branch.
3 years, 11 months ago (2017-01-24 01:08:00 UTC) #2
Siggi Cherem (dart-lang)
lgtm
3 years, 11 months ago (2017-01-24 15:33:00 UTC) #3
sra1
3 years, 10 months ago (2017-01-27 18:54:09 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
8b1f285c69e927146259adcaadb07e36d3829d44 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698