[webkit-changes] [WebKit/WebKit] 475611: Fix boxedWasmCalleeLoadLocation assertion in WasmT...

aoikonomopoulos noreply at github.com
Mon Dec 23 10:07:23 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 475611f8b6a6eec6b3cd344107b743d355a805e6
      https://github.com/WebKit/WebKit/commit/475611f8b6a6eec6b3cd344107b743d355a805e6
  Author: Angelos Oikonomopoulos <angelos at igalia.com>
  Date:   2024-12-23 (Mon, 23 Dec 2024)

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

  Log Message:
  -----------
  Fix boxedWasmCalleeLoadLocation assertion in WasmTable.cpp
https://bugs.webkit.org/show_bug.cgi?id=285101

Reviewed by Yusuke Suzuki.

boxedWasmCalleeLoadLocation used to be initialized to nullptr, but
that's no longer the case. It's initialized to Wasm::NullWasmCallee
instead and we need to turn that into a variable so that it'll have a
stable address we can compare against.

* Source/JavaScriptCore/wasm/WasmFormat.cpp:
* Source/JavaScriptCore/wasm/WasmFormat.h:
* Source/JavaScriptCore/wasm/WasmTable.cpp:
(JSC::Wasm::FuncRefTable::setFunction):

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