-
Sigurd Schneider authored
The fast-path of Number.isInteger and Number.isFinite both returned true for (-)INFINITY, because kInteger in the type cache includes both infinities. This CL uses kSafeInteger range to statically optimize those two operators. Bug: chromium:823151, chromium:823100 Change-Id: Icab7f305e8c38f25a4b34b88414f0b515bd7a0fb Reviewed-on: https://chromium-review.googlesource.com/968201Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Sigurd Schneider <sigurds@chromium.org> Cr-Commit-Position: refs/heads/master@{#52010}
21dad34f