v8/test/unittests
marja c7851da4ae Introduce LanguageMode, drop StrictMode.
This enables adding more language modes in the future.

For maximum flexibility, LanguageMode is a bitmask, so we're not restricted to
use a sequence of language modes which are progressively stricter, but we can
express the language mode as combination of features.

For now, LanguageMode can only be "sloppy" or "strict", and there are
STATIC_ASSERTS in places which need to change when more modes are added.

LanguageMode is a bit like the old LanguageMode when "extended" mode was still
around (see https://codereview.chromium.org/8417035 and
https://codereview.chromium.org/181543002 ) except that it's transmitted through
all the layers (there's no StrictModeFlag).

BUG=

Review URL: https://codereview.chromium.org/894683003

Cr-Commit-Position: refs/heads/master@{#26419}
2015-02-04 09:34:26 +00:00
..
base Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
compiler Introduce LanguageMode, drop StrictMode. 2015-02-04 09:34:26 +00:00
heap Use deadline in IdleNotification. 2014-11-28 10:59:24 +00:00
libplatform Move unit tests to test/unittests. 2014-10-01 08:34:25 +00:00
char-predicates-unittest.cc Conform to the unittest naming convention. 2014-10-10 08:06:21 +00:00
DEPS Move unit tests to test/unittests. 2014-10-01 08:34:25 +00:00
factory-unittest.cc [turbofan] Make Factory::NewNumber() always return the minus_zero_value. 2015-01-19 08:07:37 +00:00
run-all-unittests.cc Revert "Forward declaration for Isolate / Platform in libplatform.h." and "Fixes d8 on windows following.". 2014-11-19 07:28:07 +00:00
test-utils.cc Distinquish TestWithIsolateAndZone from TestWithZone 2015-01-23 16:29:57 +00:00
test-utils.h Convert compiler cctest to unittests: SchedulerTest 2015-01-26 11:21:24 +00:00
unittests.gyp Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
unittests.status Fix platform unittests. 2014-11-25 07:22:00 +00:00