[webkit-changes] [WebKit/WebKit] b15346: Implement Wasm GC spec in IPInt

Commit Queue noreply at github.com
Thu Dec 5 09:05:00 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b15346e3a1fed37b9370efc28732fe731f973c08
      https://github.com/WebKit/WebKit/commit/b15346e3a1fed37b9370efc28732fe731f973c08
  Author: Daniel Liu <daniel_liu4 at apple.com>
  Date:   2024-12-05 (Thu, 05 Dec 2024)

  Changed paths:
    A JSTests/wasm/ipint-tests/ipint-test-array-simpleinit.js
    A JSTests/wasm/ipint-tests/ipint-test-default-ref-local.js
    A JSTests/wasm/ipint-tests/ipint-test-gc-starter.js
    A JSTests/wasm/ipint-tests/ipint-test-struct-packed.js
    A JSTests/wasm/ipint-tests/ipint-test-struct-set.js
    A JSTests/wasm/ipint-tests/ipint-test-struct-simple.js
    M JSTests/wasm/spec-harness/async_index.js
    M JSTests/wasm/spec-harness/sync_index.js
    M Source/JavaScriptCore/llint/InPlaceInterpreter.asm
    M Source/JavaScriptCore/llint/InPlaceInterpreter.cpp
    M Source/JavaScriptCore/llint/InPlaceInterpreter.h
    M Source/JavaScriptCore/llint/InPlaceInterpreter32_64.asm
    M Source/JavaScriptCore/llint/InPlaceInterpreter64.asm
    M Source/JavaScriptCore/wasm/WasmIPIntGenerator.cpp
    M Source/JavaScriptCore/wasm/WasmIPIntGenerator.h
    M Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.cpp
    M Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.h
    M Tools/lldb/debug_ipint.py

  Log Message:
  -----------
  Implement Wasm GC spec in IPInt
https://bugs.webkit.org/show_bug.cgi?id=283986
rdar://140866114

Reviewed by Yusuke Suzuki.

To catch up to LLInt, we need to support the Wasm GC
and typed function reference proposals in IPInt.

* JSTests/wasm/ipint-tests/ipint-test-array-simpleinit.js: Added.
(import.as.assert.from.string_appeared_here.module):
(test):
* JSTests/wasm/ipint-tests/ipint-test-default-ref-local.js: Added.
(from.string_appeared_here.import.as.assert.from.string_appeared_here.let.wat.module.func.export.string_appeared_here.result.i32.local.funcref.local.0.ref.is_null.return.async test):
* JSTests/wasm/ipint-tests/ipint-test-gc-starter.js: Added.
(import.as.assert.from.string_appeared_here.module):
(test):
* JSTests/wasm/ipint-tests/ipint-test-struct-packed.js: Added.
(import.as.assert.from.string_appeared_here.module):
(test):
* JSTests/wasm/ipint-tests/ipint-test-struct-set.js: Added.
(import.as.assert.from.string_appeared_here.module):
(test):
* JSTests/wasm/ipint-tests/ipint-test-struct-simple.js: Added.
(import.as.assert.from.string_appeared_here.module):
(test):
* JSTests/wasm/spec-harness/async_index.js:
(eq_ref):
(assert_invalid_custom):
(reinitializeRegistry.get promise_test):
(reinitializeRegistry):
* JSTests/wasm/spec-harness/sync_index.js:
* Source/JavaScriptCore/llint/InPlaceInterpreter.asm:
* Source/JavaScriptCore/llint/InPlaceInterpreter.cpp:
(JSC::IPInt::initialize):
* Source/JavaScriptCore/llint/InPlaceInterpreter.h:
* Source/JavaScriptCore/llint/InPlaceInterpreter64.asm:
* Source/JavaScriptCore/wasm/WasmIPIntGenerator.cpp:
(JSC::Wasm::IPIntGenerator::addLocal):
(JSC::Wasm::IPIntGenerator::addRefI31):
(JSC::Wasm::IPIntGenerator::addI31GetS):
(JSC::Wasm::IPIntGenerator::addI31GetU):
(JSC::Wasm::IPIntGenerator::addArrayNew):
(JSC::Wasm::IPIntGenerator::addArrayNewData):
(JSC::Wasm::IPIntGenerator::addArrayNewElem):
(JSC::Wasm::IPIntGenerator::addArrayNewFixed):
(JSC::Wasm::IPIntGenerator::addArrayNewDefault):
(JSC::Wasm::IPIntGenerator::addArrayGet):
(JSC::Wasm::IPIntGenerator::addArraySet):
(JSC::Wasm::IPIntGenerator::addArrayLen):
(JSC::Wasm::IPIntGenerator::addArrayFill):
(JSC::Wasm::IPIntGenerator::addArrayCopy):
(JSC::Wasm::IPIntGenerator::addArrayInitElem):
(JSC::Wasm::IPIntGenerator::addArrayInitData):
(JSC::Wasm::IPIntGenerator::addStructNew):
(JSC::Wasm::IPIntGenerator::addStructNewDefault):
(JSC::Wasm::IPIntGenerator::addStructGet):
(JSC::Wasm::IPIntGenerator::addStructSet):
(JSC::Wasm::IPIntGenerator::addRefTest):
(JSC::Wasm::IPIntGenerator::addRefCast):
(JSC::Wasm::IPIntGenerator::addAnyConvertExtern):
(JSC::Wasm::IPIntGenerator::addExternConvertAny):
(JSC::Wasm::IPIntGenerator::addBranchNull):
(JSC::Wasm::IPIntGenerator::addBranchCast):
(JSC::Wasm::IPIntGenerator::addCall):
(JSC::Wasm::IPIntGenerator::addCallIndirect):
(JSC::Wasm::IPIntGenerator::addCallRef):
* Source/JavaScriptCore/wasm/WasmIPIntGenerator.h:
* Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.cpp:
(JSC::IPInt::WASM_IPINT_EXTERN_CPP_DECL):
* Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.h:
* Tools/lldb/debug_ipint.py:

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