• Sigurd Schneider's avatar
    [torque] Make torque declarations order independent · 70678d53
    Sigurd Schneider authored
    Torque semantic analysis is now a four-stage process:
    
     1. The TypeDeclarationVisitor introduces a TypeAlias for every
        TypeDeclaration* (or derived) in the Torque source, but does
        not process the TypeDeclaration* itself.
     2. All aliases are resolved in a dependency respecting manner.
        This CL also changes struct member resolution to happen at
        this point already. Types for classes are created, but their
        members are not resolved to allow classes to mutually reference
        each other in their field types.
     3. 'value' declarations (macros, etc.) are processed.
     4. Members of classes are processed.
    
    Bug: v8:7793
    Change-Id: I46108555a5cdf30df03c5d4399ec786ee6cc6df4
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1584319
    Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
    Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#61264}
    70678d53
Name
Last commit
Last update
benchmarks Loading commit data...
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...
.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...
ChangeLog Loading commit data...
DEPS 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...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...