Description[csa] Add IsNumber and IsNumberNormalized predicates
IsNumber returns true for Smi/HeapNumber arguments.
IsNumberNormalized expects a number argument and returns true if
it is either a Smi, or a HeapNumber with a value outside the Smi
range.
BUG=
Review-Url: https://codereview.chromium.org/2813623003
Cr-Commit-Position: refs/heads/master@{#44556}
Committed: https://chromium.googlesource.com/v8/v8/+/ea3bd03945a11bc1f30d926857a911b4159b7628
Patch Set 1 #Patch Set 2 : Handle NaN #
Total comments: 2
Patch Set 3 : Address comments #
Messages
Total messages: 23 (14 generated)
|