[webkit-changes] [WebKit/WebKit] 1af666: [WASM] Elements should assume non-null function re...

David Degazio noreply at github.com
Thu Aug 22 11:39:28 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1af666fca2f06ee457cbaa6373e8d1f98633a28e
      https://github.com/WebKit/WebKit/commit/1af666fca2f06ee457cbaa6373e8d1f98633a28e
  Author: David Degazio <d_degazio at apple.com>
  Date:   2024-08-22 (Thu, 22 Aug 2024)

  Changed paths:
    M Source/JavaScriptCore/wasm/WasmFormat.h
    M Source/JavaScriptCore/wasm/WasmSectionParser.cpp

  Log Message:
  -----------
  [WASM] Elements should assume non-null function reference type when appropriate
https://bugs.webkit.org/show_bug.cgi?id=278493
rdar://problem/134447131

Reviewed by Yusuke Suzuki.

Updates our parsing of element sections so we use a non-null funcref type when
the section can only contain non-null functions (i.e. by directly specifying
their indices).

* Source/JavaScriptCore/wasm/WasmFormat.h:
(JSC::Wasm::nonNullFuncrefType):
* Source/JavaScriptCore/wasm/WasmSectionParser.cpp:
(JSC::Wasm::SectionParser::parseElement):

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