[webkit-changes] [WebKit/WebKit] 803d30: [Wasm-GC] Fix assertions for global init import case

Asumu Takikawa noreply at github.com
Wed Feb 14 10:52:31 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 803d3064cdeb810bbf07b64288b06b5493b7d68d
      https://github.com/WebKit/WebKit/commit/803d3064cdeb810bbf07b64288b06b5493b7d68d
  Author: Asumu Takikawa <asumu at igalia.com>
  Date:   2024-02-14 (Wed, 14 Feb 2024)

  Changed paths:
    M JSTests/wasm/gc/const-exprs.js
    M JSTests/wasm/gc/simd.js
    M JSTests/wasm/gc/table_init.js
    M Source/JavaScriptCore/wasm/js/WebAssemblyModuleRecord.cpp

  Log Message:
  -----------
  [Wasm-GC] Fix assertions for global init import case
https://bugs.webkit.org/show_bug.cgi?id=269123

Reviewed by Justin Michaud.

Fixes assertions for the "import" (referring to previous globals) case of
global init expressions. Also adds tests for various cases (including for
tables) to cover these cases better.

* JSTests/wasm/gc/const-exprs.js:
(async testConstExprGlobalOrdering):
* JSTests/wasm/gc/simd.js:
(testSIMDGlobal):
* JSTests/wasm/gc/table_init.js:
* Source/JavaScriptCore/wasm/js/WebAssemblyModuleRecord.cpp:
(JSC::WebAssemblyModuleRecord::initializeExports):

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




More information about the webkit-changes mailing list