• Leszek Swirski's avatar
    Reland^3 "[parser] Introduce UnoptimizedCompileFlags" · 313d4844
    Leszek Swirski authored
    This is a reland of 0a59e0cb
    which was a reland of 146f5375
    which was a reland of d91679bf
    
    Initializes the BackgroundCompileTasks's language_mode in the
    constructor (previously only initialized after successful parse) in case
    the parse failed. We still need to reset it after parse in case the
    language mode changed (because we encountered "use strict").
    
    Original change's description:
    > [parser] Introduce UnoptimizedCompileFlags
    >
    > UnoptimizedCompileFlags defines the input flags shared between parse and
    > compile (currently parse-only). It is set initially with some values, and
    > is immutable after being passed to ParseInfo (ParseInfo still has getters
    > for the fields, but no setters).
    >
    > Since a few of the existing flags were output flags, ParseInfo now has a
    > new output_flags field, which will eventually migrate to a ParseOutputs
    > structure.
    >
    > Bug: v8:10314
    > Change-Id: If3890a5fad883bca80a97bf9dfe44d91797dc286
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2096580
    > Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    > Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
    > Reviewed-by: Simon Zünd <szuend@chromium.org>
    > Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#66782}
    
    TBR=ulan@chromium.org,szuend@chromium.org,rmcilroy@chromium.org
    
    Bug: v8:10314
    Change-Id: Ieee0bbfade4fe0b56de03bff47a7364959608d6a
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2157367Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#67265}
    313d4844
Name
Last commit
Last update
build_overrides Loading commit data...
custom_deps Loading commit data...
docs Loading commit data...
gni Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.clang-tidy Loading commit data...
.editorconfig Loading commit data...
.flake8 Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
COMMON_OWNERS Loading commit data...
DEPS Loading commit data...
ENG_REVIEW_OWNERS Loading commit data...
INFRA_OWNERS Loading commit data...
INTL_OWNERS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
MIPS_OWNERS Loading commit data...
OWNERS Loading commit data...
PPC_OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
S390_OWNERS Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...