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 2857133008: dart2js: Improve code quality after min/max changes (Closed)

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

Description

dart2js: Improve code quality after min/max changes The new definition gets inlined, which can cause the code to be bigger. Characterizing the JavaScript allows better scheduling around the expression. Making checkNum no-inline prevents inlining control flow that confuses other optimizations. Since the optimizer already understands when to eliminate checkNum calls, this is not a problem. R=rnystrom@google.com Committed: https://github.com/dart-lang/sdk/commit/e3436ada00d355ea2d3b8df224873857004eba8a

Patch Set 1 #

Patch Set 2 : remove 'as T' to silence dart2js hint' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -4 lines) Patch
M sdk/lib/_internal/js_runtime/lib/js_helper.dart View 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/js_runtime/lib/math_patch.dart View 1 1 chunk +10 lines, -4 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
sra1
3 years, 7 months ago (2017-05-05 23:52:06 UTC) #2
Bob Nystrom
lgtm
3 years, 7 months ago (2017-05-05 23:55:12 UTC) #4
sra1
Committed patchset #2 (id:20001) manually as e3436ada00d355ea2d3b8df224873857004eba8a (presubmit successful).
3 years, 7 months ago (2017-05-06 00:21:16 UTC) #6
Siggi Cherem (dart-lang)
3 years, 7 months ago (2017-05-08 22:28:45 UTC) #7
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698