Description[turbofan] Smartify typing of NumberToInt32 and NumberToUint32.
According to ES5 9.5 and 9.6, NaN, -inf, +inf, -0 and 0 all truncate to
zero for both ToInt32 and ToUint32, so we can be a lot smarter in the
typer, loosing less information upon truncation (i.e. x | 0 and x >>> 0).
R=jarin@chromium.org
Committed: https://chromium.googlesource.com/v8/v8/+/a39b2f50083bcbe53668a4ee04cbf55d0ac570b2
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|