• marja's avatar
    Introduce LanguageMode, drop StrictMode. · c7851da4
    marja authored
    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}
    c7851da4
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
include Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
Makefile.nacl Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...