• 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
..
globals.h Loading commit data...
json-parser.cc Loading commit data...
json-parser.h Loading commit data...
json.cc Loading commit data...
json.h Loading commit data...
message-handler.cc Loading commit data...
message-handler.h Loading commit data...
message-macros.h Loading commit data...
message-pipe.h Loading commit data...
message.h Loading commit data...
torque-language-server.cc Loading commit data...