Descriptiondart2js: 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' #
Messages
Total messages: 7 (3 generated)
|