• Tobias Tebbi's avatar
    [torque] introduce generic abstract types · 5bba6680
    Tobias Tebbi authored
    This expands the existing mechanism for generic structs to also cover
    abstract types. This involves:
    - Moving the SpecializationKey from StructType to Type, so that it's
      also available to AbstractType.
    - Moving the generic parameters out of the StructDeclaration AST node
      and using the existing GenericDeclaration AST node for generic structs
      and abstract types too.
    - The GenericStructType declarable gets generalized to GenericType.
    
    This will be useful for defining a Weak<T> type for weak pointers.
    
    Bug: v8:7793
    Change-Id: I183b3a038a143cf0ae5888150104c4a025fd736c
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1859623
    Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
    Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#64533}
    5bba6680
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...