Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: de486f972120eeff3c5ac70b685168608283fdfe
      
https://github.com/WebKit/WebKit/commit/de486f972120eeff3c5ac70b685168608283fdfe
  Author: Yusuke Suzuki <[email protected]>
  Date:   2024-11-18 (Mon, 18 Nov 2024)

  Changed paths:
    A JSTests/wasm/stress/exnref-use.js
    M Source/JavaScriptCore/wasm/WasmFormat.h
    M Source/JavaScriptCore/wasm/WasmFunctionParser.h
    M Source/JavaScriptCore/wasm/WasmGlobal.cpp
    M Source/JavaScriptCore/wasm/WasmTypeDefinition.cpp
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyStruct.cpp

  Log Message:
  -----------
  WebAssembly assertion error in 
FunctionParser<JSC::Wasm::LLIntGenerator>::parseExpression
https://bugs.webkit.org/show_bug.cgi?id=283262
rdar://140072695

Reviewed by Michael Saboff.

Add exnref type handling in missing places. It should behave as if it is
externref, but with different type hierarchy.

* Source/JavaScriptCore/wasm/WasmFormat.h:
(JSC::Wasm::isValueType):
* Source/JavaScriptCore/wasm/WasmFunctionParser.h:
(JSC::Wasm::FunctionParser<Context>::parseExpression):
* Source/JavaScriptCore/wasm/WasmGlobal.cpp:
(JSC::Wasm::Global::get const):
* Source/JavaScriptCore/wasm/WasmTypeDefinition.cpp:
(JSC::Wasm::TypeInformation::castReference):
* Source/JavaScriptCore/wasm/js/JSWebAssemblyStruct.cpp:
(JSC::JSWebAssemblyStruct::get const):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to