[webkit-changes] [WebKit/WebKit] 946dda: [WASM] Should use externrefType in ExternRefTable:...

Yijia Huang noreply at github.com
Mon Sep 9 16:31:53 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 946ddabf2e455b270663c937cc9f57c0a23ed250
      https://github.com/WebKit/WebKit/commit/946ddabf2e455b270663c937cc9f57c0a23ed250
  Author: Yijia Huang <yijia_huang at apple.com>
  Date:   2024-09-09 (Mon, 09 Sep 2024)

  Changed paths:
    A JSTests/stress/extern-ref-table-with-ref-null.js
    M Source/JavaScriptCore/wasm/WasmTable.cpp

  Log Message:
  -----------
  [WASM] Should use externrefType in ExternRefTable::ExternRefTable instead of anyrefType
https://bugs.webkit.org/show_bug.cgi?id=279390
rdar://135214204

Reviewed by Yusuke Suzuki.

We need to use externrefType for the assertion since it's ExternRefTable.

* JSTests/stress/extern-ref-table-with-ref-null.js: Added.
(catch):
* Source/JavaScriptCore/wasm/WasmTable.cpp:
(JSC::Wasm::ExternRefTable::ExternRefTable):

Canonical link: https://commits.webkit.org/283369@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