Chromium Code Reviews
Descriptiondart2js: Keep refined type for type checks
The generated code for inserted receiver and argument type checks
depends on the input type. Keeping the type after removing HTypeKnown
refinements give better code.
In a large app, 58% of the 'int' tests are replaced with cheaper 'num'
tests on the basis of the more precise input type.
R=sigmund@google.com
Committed: https://github.com/dart-lang/sdk/commit/435da5d44bbab17b5c6acfade591e984fa22034f
Patch Set 1 #
Total comments: 1
Messages
Total messages: 5 (2 generated)
|
|||||||||||||||||||||||||||||||||||||