v8/test/unittests
Gabriel Charette db73d446b9 Bring Time(Delta)::Min/Max() and related helpers to V8.
Copied as-is modulo compile tweaks from Chromium's base.

Copied tests highlighting existing overflow issues with V8's impl...

TimeDelta::Max() will initially be used in V8 to flag events that
never triggered in a TimedHistogram.

Also constexpr'ed a few things while I was in there, it's harmless
at worst and helps a little at best.
Ideally would constexpr all the Time*::From*() methods like in
Chromium but that has inlining implications and I don't know the
impact that could have on V8.

Bug: chromium:807606
Change-Id: If5aa92759d985be070e12af4dd20f0159169048b
Reviewed-on: https://chromium-review.googlesource.com/899342
Reviewed-by: Hannes Payer <hpayer@chromium.org>
Commit-Queue: Gabriel Charette <gab@chromium.org>
Cr-Commit-Position: refs/heads/master@{#51073}
2018-02-02 15:38:55 +00:00
..
api Enable clang's -Wunreachable-code warning. 2017-12-04 13:09:25 +00:00
asmjs Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
base Bring Time(Delta)::Min/Max() and related helpers to V8. 2018-02-02 15:38:55 +00:00
compiler [turbofan] Eliminate switch operations with constant input. 2018-02-01 13:23:52 +00:00
compiler-dispatcher [test] Add TaskRunners to the platform in the compiler dispatcher tests 2017-11-20 15:54:11 +00:00
heap Do not block in non-main thread tasks in ItemParallelJobTests. 2018-02-01 09:09:29 +00:00
interpreter [Intepreter] Add poisoning to bytecode operand reads. 2018-01-29 12:56:43 +00:00
libplatform Reland "[platform] Implement TaskRunners in the DefaultPlatform" 2017-11-15 12:35:54 +00:00
parser Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
wasm [wasm] Implement wasm sign extension opcodes 2018-01-25 23:18:08 +00:00
zone [zone containers] Fix iteration of const ZoneChunkList 2018-01-18 12:48:05 +00:00
allocation-unittest.cc [memory] Make sure parameters are properly aligned in AllocatePages. 2018-02-02 13:54:28 +00:00
bigint-unittest.cc Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
BUILD.gn [object-stats] Add unittest for clashing instance types 2018-01-23 11:38:15 +00:00
cancelable-tasks-unittest.cc Make CancelableTask ids unique 2017-08-02 16:10:42 +00:00
char-predicates-unittest.cc Use ICU for ID_START, ID_CONTINUE and WhiteSpace check 2017-06-14 20:32:49 +00:00
code-stub-assembler-unittest.cc Remove ComputeFlags, simply pass in Code::Kind instead of Code::Flags 2017-09-29 15:37:27 +00:00
code-stub-assembler-unittest.h [csa] Add constant folding more universally to CodeAssembler operators 2017-09-12 10:03:10 +00:00
counters-unittest.cc [runtime] Make access to FLAG_runtime_stats atomic. 2017-12-19 19:01:50 +00:00
DEPS Move unit tests to test/unittests. 2014-10-01 08:34:25 +00:00
detachable-vector-unittest.cc [cleanup] Replace List with std::vector in api. 2017-09-28 09:32:18 +00:00
eh-frame-iterator-unittest.cc Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
eh-frame-writer-unittest.cc Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
locked-queue-unittest.cc Add lock-based unbounded queue 2015-11-18 10:54:13 +00:00
object-unittest.cc Leave spaces between instance types. 2017-12-20 07:34:39 +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 [cleanup] use unique_ptr for the DefaultPlatform 2017-11-14 09:57:18 +00:00
source-position-table-unittest.cc Decouple SourcePositionTableBuilder from Zone 2017-11-21 12:56:13 +00:00
test-helpers.cc [unittests] Add TestWithIsolate::RunJS helper method 2017-11-13 14:27:51 +00:00
test-helpers.h [unittests] Add TestWithIsolate::RunJS helper method 2017-11-13 14:27:51 +00:00
test-utils.cc [RCS] Add explicit tests for function callbacks 2017-11-14 09:48:08 +00:00
test-utils.h [RCS] Add explicit tests for function callbacks 2017-11-14 09:48:08 +00:00
testcfg.py [test] Remove dead code from suites and tests 2018-02-01 14:12:49 +00:00
unicode-unittest.cc Implement DFA Unicode Decoder 2017-12-11 21:36:13 +00:00
unittests.isolate [test] Move GoogleTestSuite to a separate testcfg. 2017-12-11 20:57:07 +00:00
unittests.status Do not block in non-main thread tasks in ItemParallelJobTests. 2018-02-01 09:09:29 +00:00
utils-unittest.cc Reland "MIPS[64] Implementation of MSA instructions on builtin simulator" 2017-11-28 13:43:23 +00:00
value-serializer-unittest.cc De/serializes SharedArrayBuffers. 2018-01-18 19:55:48 +00:00