• Manos Koukoutos's avatar
    [wasm] Small refactoring for module types · 9566a6e3
    Manos Koukoutos authored
    Changes:
    - Introduce {TypeDefinition} for wasm modules.
    - Introduce an enum {TypeDefinition::Kind} to represent the three
      different definition types.
    - Collapse the {types}, {type_kinds} and {supertypes} vectors into a
      single vector of {TypeDefinition}s.
    - Use {TypeDefinition} in WasmModuleBuilder.
    - Drive-by: Remove {kNullIndex} in WasmModuleBuilder.
    - Drive-by: Tidy-up wasm-module.h.
    
    Change-Id: I97c2c268bcad745176243c693cf169bfa5714f94
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3416233Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#78813}
    9566a6e3
Name
Last commit
Last update
..
inspector Loading commit data...
json Loading commit data...
multi_return Loading commit data...
parser Loading commit data...
regexp Loading commit data...
regexp_builtins Loading commit data...
wasm Loading commit data...
wasm_async Loading commit data...
wasm_code Loading commit data...
wasm_compile Loading commit data...
BUILD.gn Loading commit data...
DEPS Loading commit data...
README.md Loading commit data...
fuzzer-support.cc Loading commit data...
fuzzer-support.h Loading commit data...
fuzzer.cc Loading commit data...
fuzzer.status Loading commit data...
inspector-fuzzer.cc Loading commit data...
json.cc Loading commit data...
multi-return.cc Loading commit data...
parser.cc Loading commit data...
regexp-builtins.cc Loading commit data...
regexp.cc Loading commit data...
testcfg.py Loading commit data...
wasm-async.cc Loading commit data...
wasm-code.cc Loading commit data...
wasm-compile.cc Loading commit data...
wasm-fuzzer-common.cc Loading commit data...
wasm-fuzzer-common.h Loading commit data...
wasm.cc Loading commit data...
wasm_corpus.tar.gz.sha1 Loading commit data...