v8/test
Jakob Kummerow 977da55033 [bigint] Encapsulate internals in MutableBigInt
This CL creates the invariant that the BigInt class treats
BigInt objects as immutable. Writing to new BigInt objects
as part of their construction is done by the MutableBigInt
helper class, which in turn is hidden as an implementation
detail in bigint.cc.
As a side effect, this refactoring enforces right-trimming
checks for all newly created BigInts, and ensures that all
BigInt allocations possibly exceeding kMaxLength check for
this case and throw a RangeError instead of crashing.

Bug: v8:6791
Tbr: mlippautz@chromium.org
Change-Id: Id239746108e6b076b47a03ba37462001eb501507
Reviewed-on: https://chromium-review.googlesource.com/742329
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49462}
2017-11-17 23:06:52 +00:00
..
benchmarks Remove env field from testcase. 2017-11-16 15:26:06 +00:00
cctest [bigint] Encapsulate internals in MutableBigInt 2017-11-17 23:06:52 +00:00
common [wasm] Support block parameters 2017-10-24 11:44:26 +00:00
debugger Remove env field from testcase. 2017-11-16 15:26:06 +00:00
fuzzer Remove always-on flags for RegExp dotAll and lookbehind 2017-11-17 16:47:19 +00:00
inspector [inspector] Dispose the isolate in the inspector tests 2017-11-16 17:42:37 +00:00
intl Remove env field from testcase. 2017-11-16 15:26:06 +00:00
js-perf-test [js-perf-test] Add Collection constructor and double type microbenchmarks 2017-11-16 07:21:05 +00:00
memory [snapshot] add tracking for builtin snapshot size. 2017-08-31 07:29:31 +00:00
message Remove env field from testcase. 2017-11-16 15:26:06 +00:00
mjsunit Reland^2 "[runtime] Slightly optimize creation of class literals." 2017-11-17 18:15:34 +00:00
mkgrokdump Remove shell info from testcase. 2017-11-16 15:42:26 +00:00
mozilla Remove always-on flag --harmony-strict-legacy-accessor-builtins 2017-11-17 04:06:30 +00:00
preparser Remove shell info from testcase. 2017-11-16 15:42:26 +00:00
promises-aplus Remove env field from testcase. 2017-11-16 15:26:06 +00:00
test262 Remove always-on flags for RegExp dotAll and lookbehind 2017-11-17 16:47:19 +00:00
unittests [bigint] Encapsulate internals in MutableBigInt 2017-11-17 23:06:52 +00:00
wasm-spec-tests Remove env field from testcase. 2017-11-16 15:26:06 +00:00
webkit Remove env field from testcase. 2017-11-16 15:26:06 +00:00
bot_default.gyp [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
bot_default.isolate [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
BUILD.gn [wasm] Remove the wasm-asmjs fuzzer 2017-06-21 10:59:35 +00:00
default.gyp [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
default.isolate [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
optimize_for_size.gyp
optimize_for_size.isolate [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
perf.gyp
perf.isolate Remove SIMD.js from V8. 2017-02-14 06:57:25 +00:00