[webkit-changes] [WebKit/WebKit] e522f1: [JSC] Remove wasm entrypoint thunk generation
Yusuke Suzuki
noreply at github.com
Tue May 28 00:04:50 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e522f11064930938fafd62938d82d37709757d36
https://github.com/WebKit/WebKit/commit/e522f11064930938fafd62938d82d37709757d36
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M Source/JavaScriptCore/wasm/WasmIPIntPlan.cpp
M Source/JavaScriptCore/wasm/WasmIPIntPlan.h
M Source/JavaScriptCore/wasm/WasmLLIntPlan.cpp
M Source/JavaScriptCore/wasm/WasmLLIntPlan.h
M Source/JavaScriptCore/wasm/WasmModule.cpp
M Source/JavaScriptCore/wasm/WasmModule.h
Log Message:
-----------
[JSC] Remove wasm entrypoint thunk generation
https://bugs.webkit.org/show_bug.cgi?id=274764
rdar://128826832
Reviewed by Justin Michaud.
Because caller stores callee to a specific stack slot, we do not need to generate LLInt/IPInt entrypoint thunk anymore.
This patch wipes it. And we move LLIntCallee / IPIntCallee generation from the last part of LLIntPlan / IPIntPlan to each function compilation.
We also move entrypoint thunk generation from the last phase to the each function compilation.
* Source/JavaScriptCore/wasm/WasmIPIntPlan.cpp:
(JSC::Wasm::IPIntPlan::prepareImpl):
(JSC::Wasm::IPIntPlan::compileFunction):
(JSC::Wasm::IPIntPlan::didCompleteCompilation):
* Source/JavaScriptCore/wasm/WasmIPIntPlan.h:
* Source/JavaScriptCore/wasm/WasmLLIntPlan.cpp:
(JSC::Wasm::LLIntPlan::prepareImpl):
(JSC::Wasm::LLIntPlan::compileFunction):
(JSC::Wasm::LLIntPlan::didCompleteCompilation):
* Source/JavaScriptCore/wasm/WasmLLIntPlan.h:
* Source/JavaScriptCore/wasm/WasmModule.cpp:
(JSC::Wasm::Module::Module):
* Source/JavaScriptCore/wasm/WasmModule.h:
Canonical link: https://commits.webkit.org/279369@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