Description[builtins] Optimize Number.parseInt for HeapNumbers in Signed32 range.
When the input to Number.parseInt is a HeapNumber in Signed32 range, we
can just return the (truncated) input value (i.e. we need to map -0 to
0 due to the ToString conversion).
R=jarin@chromium.org
Committed: https://crrev.com/efe4fd4b5b831d253a71b564be3786203926e242
Cr-Commit-Position: refs/heads/master@{#40419}
Patch Set 1 #
Created: 4 years, 2 months ago
Messages
Total messages: 10 (5 generated)
|