v8/test/mjsunit/harmony/bigint
Jakob Kummerow b4470ea4cf Reland "[bigint] Fix early-return in asIntN"
For "top digit" (of the result) comparison to be applicable, we must
also check that there are no further digits in the source.

The included regression test flushes out another bug in "TruncateToNBits",
so that gets fixed here too (in contrast to the first landing attempt).

This reverts commit cb9e7af4e5.

Bug: v8:7150
Change-Id: Id631b1ae79e60b8e85ed4667e246a64c46765f2b
Reviewed-on: https://chromium-review.googlesource.com/807348
Reviewed-by: Georg Neis <neis@chromium.org>
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49877}
2017-12-05 17:31:58 +00:00
..
add.js [bigint] Add tests for unary/binary ops 2017-10-23 19:11:01 +00:00
and.js [bigint] Add tests for unary/binary ops 2017-10-23 19:11:01 +00:00
as-int-n.js Reland "[bigint] Fix early-return in asIntN" 2017-12-05 17:31:58 +00:00
basics.js [bigint] Remove --no-opt flag from various mjsunit tests. 2017-12-01 10:27:14 +00:00
comparisons.js [bigint] Remove --no-opt flag from various mjsunit tests. 2017-12-01 10:27:14 +00:00
dec.js [bigint] Remove --no-opt flag from various mjsunit tests. 2017-12-01 10:27:14 +00:00
div.js [bigint] Add tests for unary/binary ops 2017-10-23 19:11:01 +00:00
exp.js [bigint] Implement BigInt::Exponentiate 2017-12-01 00:38:28 +00:00
inc.js [bigint] Remove --no-opt flag from various mjsunit tests. 2017-12-01 10:27:14 +00:00
json.js [bigint] Remove --no-opt flag from various mjsunit tests. 2017-12-01 10:27:14 +00:00
mod.js [bigint] Add tests for unary/binary ops 2017-10-23 19:11:01 +00:00
mul.js [bigint] Add tests for unary/binary ops 2017-10-23 19:11:01 +00:00
neg.js [bigint] Remove --no-opt flag from various mjsunit tests. 2017-12-01 10:27:14 +00:00
not.js [bigint] Remove --no-opt flag from various mjsunit tests. 2017-12-01 10:27:14 +00:00
or.js [bigint] Add tests for unary/binary ops 2017-10-23 19:11:01 +00:00
regressions.js [bigint] Remove --no-opt flag from various mjsunit tests. 2017-12-01 10:27:14 +00:00
sar.js [bigint] Fix RightShift by 32 2017-10-25 18:03:18 +00:00
shl.js [bigint] Add tests for unary/binary ops 2017-10-23 19:11:01 +00:00
sub.js [bigint] Add tests for unary/binary ops 2017-10-23 19:11:01 +00:00
tonumber.js [bigint] Remove --no-opt flag from various mjsunit tests. 2017-12-01 10:27:14 +00:00
too-big-literal.js [bigint] Remove --no-opt flag from various mjsunit tests. 2017-12-01 10:27:14 +00:00
turbo.js [bigint,compiler] Add tests for Turbofan. 2017-12-01 07:48:44 +00:00
xor.js [bigint] Add tests for unary/binary ops 2017-10-23 19:11:01 +00:00