• Manos Koukoutos's avatar
    [wasm-gc] Preliminary changes for array.init_from_data · 3f17f96f
    Manos Koukoutos authored
    Changes:
    - Rename kWasmTrapDataSegmentDropped to the more accurate ~OutOfBounds.
    - Drop unused argument from {WasmCompiler::ArrayInit}.
    - Rename {Factory::NewWasmArray} -> NewWasmArrayFromElements.
    - Add error handling to {InitExprInterface}.
    - Allow the data count section to appear anywhere in the module under
      --experimental-wasm-gc. Add the same capability in
      wasm-module-builder.js.
    - Add {WasmArray::MaxLength(uint32_t element_size_log2)}.
    - Add kTrapArrayTooLarge in wasm-module-builder.js.
    - Small test improvements in gc-nominal.js.
    
    Bug: v8:7748
    Change-Id: I68ca0e8b08f906503f0d82e5866395018d216382
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3401593Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#78730}
    3f17f96f
init-expr-interface.h 3.12 KB