Files
sdk/pkg/compiler/lib/src/ssa
Stephen Adams 9598a1d1fa Add HAbs instruction
This change is to recover 6% lost on Intl.NumberFormat.format.reused
when JSNumber was make Dart2 clean.

Use invoke_dynamic_specializer to replace call with HAbs instruction.

Inject receiver check to condition receiver to a non-null number to
improve. This part makes x.abs() one of the operations 'trusted' by
'--trust-primitives'.

Add one-shot accelerators for abs and get:sign.

Change-Id: Ia423c4b398114abe1d4a784febbe664710f0a242
Reviewed-on: https://dart-review.googlesource.com/42890
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
2018-02-22 22:21:41 +00:00
..
2017-06-28 10:02:00 +02:00
2018-02-22 22:21:41 +00:00
2018-02-22 22:21:41 +00:00
2018-02-22 22:21:41 +00:00
2017-12-02 01:42:22 +00:00
2018-02-22 22:21:41 +00:00