[Webkit-unassigned] [Bug 258219] New: [Wasm-GC] Add support for bottom heap types

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 16 12:48:24 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=258219

            Bug ID: 258219
           Summary: [Wasm-GC] Add support for bottom heap types
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebAssembly
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bashorov at gmail.com

Created attachment 466719

  --> https://bugs.webkit.org/attachment.cgi?id=466719&action=review

test

Steps to reproduce:

1. Unpack the attached file.
2. Run `jsc --useWebAssemblyTypedFunctionReferences=true --useWebAssemblyGC=true --module-file=test.mjs`

Actual results:

Exception: CompileError: WebAssembly.Module doesn't parse at byte 3: ref.null heaptype must be funcref, externref or type_idx, in function at index 0 (evaluating 'new WebAssembly.Module(wasmBuffer)')
Module@[native code]

Expected results:

No errors

--

Related tests in the GC proposal repo:
https://github.com/WebAssembly/gc/blob/main/test/core/gc/ref_cast.wast
https://github.com/WebAssembly/gc/blob/main/test/core/gc/ref_test.wast

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230616/ff4ba22a/attachment-0001.htm>


More information about the webkit-unassigned mailing list