[webkit-changes] [WebKit/WebKit] 149c01: [JSC] Exnref should be subtype of anyref

Yusuke Suzuki noreply at github.com
Mon Jan 13 11:49:26 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 149c01577b7eeb5c5fc619b992d292e8eb6027ae
      https://github.com/WebKit/WebKit/commit/149c01577b7eeb5c5fc619b992d292e8eb6027ae
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2025-01-13 (Mon, 13 Jan 2025)

  Changed paths:
    A JSTests/wasm/stress/exnref-table.js
    M Source/JavaScriptCore/wasm/WasmFormat.h
    M Source/JavaScriptCore/wasm/WasmTable.cpp

  Log Message:
  -----------
  [JSC] Exnref should be subtype of anyref
https://bugs.webkit.org/show_bug.cgi?id=285783
rdar://142474856

Reviewed by Yijia Huang.

exnref should be subtype of anyref. So WasmTable should be OK for
exnref when it is externref table.

* JSTests/wasm/stress/exnref-table.js: Added.
* Source/JavaScriptCore/wasm/WasmFormat.h:
(JSC::Wasm::isExnref):
(JSC::Wasm::isSubtype):

Canonical link: https://commits.webkit.org/288811@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list