Description[turbofan] Lower calls to the Number constructor in JSCallReducer.
The expression Number(x) is essentially equivalent to ToNumber(x),
so just lower to JSToNumber in the JSCallReducer and let typing
and typed lowering take care of optimizations.
R=jarin@chromium.org
Committed: https://crrev.com/832424cf73c98b38421c4b2e3da8c0e02a127791
Cr-Commit-Position: refs/heads/master@{#32596}
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|