v8/src/runtime
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
..
runtime-api.cc Split off remaining runtime functions in runtime.cc. 2014-10-10 14:59:53 +00:00
runtime-array.cc Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
runtime-classes.cc Introduce LanguageMode, drop StrictMode. 2015-02-04 09:34:26 +00:00
runtime-collections.cc Revert of Add WeakMap to v8.h (patchset #3 id:40001 of https://codereview.chromium.org/886473005/) 2015-02-03 14:42:49 +00:00
runtime-compiler.cc Introduce LanguageMode, drop StrictMode. 2015-02-04 09:34:26 +00:00
runtime-date.cc Profiler improvements 2015-01-20 16:06:09 +00:00
runtime-debug.cc Introduce LanguageMode, drop StrictMode. 2015-02-04 09:34:26 +00:00
runtime-function.cc Introduce LanguageMode, drop StrictMode. 2015-02-04 09:34:26 +00:00
runtime-generator.cc Leaving a generator via an exception causes it to close 2014-11-12 14:29:22 +00:00
runtime-i18n.cc Move some Runtime:: functions and remove runtime.h as include when unnecessary. 2014-10-20 12:07:45 +00:00
runtime-internal.cc Clear pending exception on stack overflow in the parser 2015-02-03 06:22:36 +00:00
runtime-json.cc Move some Runtime:: functions and remove runtime.h as include when unnecessary. 2014-10-20 12:07:45 +00:00
runtime-literals.cc MapCache simplification. It is now a FixedArray that maps number of properties to a WeakCell with a Map. 2014-11-10 18:04:17 +00:00
runtime-liveedit.cc Move some Runtime:: functions and remove runtime.h as include when unnecessary. 2014-10-20 12:07:45 +00:00
runtime-maths.cc Move some Runtime:: functions and remove runtime.h as include when unnecessary. 2014-10-20 12:07:45 +00:00
runtime-numbers.cc Remove deprecated v8::base::OS::nan_value(). 2015-01-21 14:38:58 +00:00
runtime-object.cc Introduce LanguageMode, drop StrictMode. 2015-02-04 09:34:26 +00:00
runtime-observe.cc Allow stepping into Object.observe handlers. 2014-11-19 15:16:40 +00:00
runtime-proxy.cc Move some Runtime:: functions and remove runtime.h as include when unnecessary. 2014-10-20 12:07:45 +00:00
runtime-regexp.cc Remove implicit uint8_t to char cast in string replace. 2015-01-21 08:55:11 +00:00
runtime-scopes.cc Introduce LanguageMode, drop StrictMode. 2015-02-04 09:34:26 +00:00
runtime-strings.cc Abstract string building in JSON-stringifier into IncrementalStringBuilder. 2014-11-12 08:05:15 +00:00
runtime-symbol.cc Move some Runtime:: functions and remove runtime.h as include when unnecessary. 2014-10-20 12:07:45 +00:00
runtime-test.cc Remove overzealous check from %OptimizeFunctionOnNextCall. 2015-01-19 15:52:00 +00:00
runtime-typedarray.cc Fix remaining issues in the custom snapshot. 2015-01-15 11:22:17 +00:00
runtime-uri.cc Force inline Stirng::GetCharVector<>. 2014-11-25 15:30:03 +00:00
runtime-utils.h Introduce LanguageMode, drop StrictMode. 2015-02-04 09:34:26 +00:00
runtime.cc Drop TODO that no longer applies after refactoring. 2015-01-21 14:24:11 +00:00
runtime.h Introduce LanguageMode, drop StrictMode. 2015-02-04 09:34:26 +00:00