v8/test/unittests
Michael Starzinger e2accb425c [asm.js] Fix numeric literal bounds checking.
This fixes the bounds checking of "unsigned" numeric literals (those
that do not contains dots) by the parser. In particular this fixes a
bogus truncation to 32-bit in the scanner. It also makes the scanner
more robust by limiting the range of those numeric literals, hence
completely avoiding rounding loss or truncation errors.

R=clemensh@chromium.org
TEST=unittests/AsmJsScannerTest.UnsignedNumbers
BUG=v8:6298

Change-Id: Id31ab3c652e99fa8d3d6663315768e1bfaf3b773
Reviewed-on: https://chromium-review.googlesource.com/486881
Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#44890}
2017-04-26 13:45:45 +00:00
..
api Never freeze/seal/preventExtensions objects with interceptors 2017-03-29 13:04:58 +00:00
asmjs [asm.js] Fix numeric literal bounds checking. 2017-04-26 13:45:45 +00:00
base Avoid signed/unsigned warning in VC++ 2017 builds 2017-04-24 19:29:59 +00:00
compiler [turbofan] Let ChangeFloat64ToTagged canonicalize to Smi if possible. 2017-04-13 06:57:04 +00:00
compiler-dispatcher Remove "calls eval" bit from ParseInfo and PreParseData 2017-04-19 19:45:45 +00:00
heap Reland of [heap] Fix CompactionSpace test and move to unittests 2017-04-05 07:36:15 +00:00
interpreter [inspector] cache stack frame for call sites 2017-04-12 18:33:20 +00:00
libplatform Make idle tasks optional in the default platform. 2017-03-07 13:37:41 +00:00
parser [parser] Move newly added cctest/test-parsing/LazyFunctionLength to unittests. 2017-04-18 14:27:32 +00:00
wasm [wasm] [cleanup] Always use macros for memory operations 2017-04-26 11:49:50 +00:00
zone Add RecyclingZoneAllocator for ZoneDeque. 2017-03-27 15:10:42 +00:00
BUILD.gn [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +00:00
cancelable-tasks-unittest.cc Implement async AbortAll for the compiler dispatcher 2017-01-04 13:45:56 +00:00
char-predicates-unittest.cc [intl] Reorganize code 2017-04-24 13:54:15 +00:00
counters-unittest.cc [counters] RuntimeStats: fix wrong bookkeeping when dynamically changing counters 2016-11-24 10:05:37 +00:00
DEPS Move unit tests to test/unittests. 2014-10-01 08:34:25 +00:00
eh-frame-iterator-unittest.cc [turbofan] Fix more -Wsign-compare warnings. 2016-11-11 12:01:08 +00:00
eh-frame-writer-unittest.cc [turbofan] Fix more -Wsign-compare warnings. 2016-11-11 12:01:08 +00:00
locked-queue-unittest.cc Add lock-based unbounded queue 2015-11-18 10:54:13 +00:00
object-unittest.cc Fix HashTable growth strategy to be 2x instead of 4x 2017-04-21 17:31:29 +00:00
register-configuration-unittest.cc [Turbofan] Add concept of FP register aliasing on ARM 32. 2016-10-26 16:04:33 +00:00
run-all-unittests.cc Make idle tasks optional in the default platform. 2017-03-07 13:37:41 +00:00
source-position-table-unittest.cc This CL enables precise source positions for all V8 compilers. It merges compiler::SourcePosition and internal::SourcePosition to a single class used throughout the codebase. The new internal::SourcePosition instances store an id identifying an inlined function in addition to a script offset. 2016-11-14 17:22:32 +00:00
test-helpers.cc [parser] Move newly added cctest/test-parsing/LazyFunctionLength to unittests. 2017-04-18 14:27:32 +00:00
test-helpers.h [parser] Move newly added cctest/test-parsing/LazyFunctionLength to unittests. 2017-04-18 14:27:32 +00:00
test-utils.cc Disable other background modules while testing the CompilerDispatcher 2017-03-14 14:01:03 +00:00
test-utils.h Disable other background modules while testing the CompilerDispatcher 2017-03-14 14:01:03 +00:00
unicode-unittest.cc Fix out-of-range access in unibrow::Utf8::CalculateValue. 2016-11-22 09:27:59 +00:00
unittests.gyp [parser] Move newly added cctest/test-parsing/LazyFunctionLength to unittests. 2017-04-18 14:27:32 +00:00
unittests.isolate Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00
unittests.status [asm.js] Widen test coverage to cctest and friends. 2017-03-28 08:00:40 +00:00
value-serializer-unittest.cc Reland of [wasm] Transferrable modules (patchset #1 id:1 of https://codereview.chromium.org/2762163002/ ) 2017-03-21 17:48:05 +00:00