Files
sdk/runtime/vm
Aart Bik db72134f90 [vm/inliner] Add smi return type of clamped convertors.
Rationale:
Rather than forced inlining of clamped convertors
(the "saturated" method _toClampedUint8() from
dart:typed_data), exposing the fact that it always
returns smi values (since they check fail on null inputs)
yields much better Uint8ClampedListView performance
(it avoids re-compilation due to a speculative CheckSmi).

Note:
In the long run, we may still want them inlined
and improve range analysis to deal with clamping.

Performance:
About 2.8x faster than previous optimized version,
about 4.5x faster than original.

https://github.com/dart-lang/sdk/issues/33205

Change-Id: I86a06525d2f2ea0476effd3c3d856ff8d9ab1d87
Reviewed-on: https://dart-review.googlesource.com/60201
Commit-Queue: Aart Bik <ajcbik@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2018-06-13 23:15:04 +00:00
..
2018-05-03 17:59:44 +00:00
2018-06-05 17:40:59 +00:00
2018-04-24 23:07:38 +00:00
2017-03-15 13:11:05 -07:00
2018-06-04 17:33:03 +00:00
2018-06-04 17:33:03 +00:00
2017-10-30 22:02:20 +00:00
2018-05-14 22:17:38 +00:00
2018-04-30 19:23:58 +00:00
2017-03-15 13:11:05 -07:00
2017-11-23 00:07:56 +00:00
2017-11-23 00:07:56 +00:00
2018-05-03 17:59:44 +00:00
2017-06-22 08:49:22 -07:00
2017-10-25 21:57:08 +00:00