[webkit-changes] [WebKit/WebKit] a5afba: [JSC] Use destroying delete for Wasm::Callee
Yusuke Suzuki
noreply at github.com
Tue Sep 13 16:11:10 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a5afba21a12e7fce9d0a609c98f67277c1f2b8cd
https://github.com/WebKit/WebKit/commit/a5afba21a12e7fce9d0a609c98f67277c1f2b8cd
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2022-09-13 (Tue, 13 Sep 2022)
Changed paths:
M Source/JavaScriptCore/wasm/WasmCallee.cpp
M Source/JavaScriptCore/wasm/WasmCallee.h
Log Message:
-----------
[JSC] Use destroying delete for Wasm::Callee
https://bugs.webkit.org/show_bug.cgi?id=245113
<rdar://99850863>
Reviewed by Ross Kirsling.
This patch deploys destroying delete for Wasm::Callee to
make Wasm::Callee small size.
* Source/JavaScriptCore/wasm/WasmCallee.cpp:
(JSC::Wasm::Callee::runWithDowncast):
(JSC::Wasm::Callee::runWithDowncast const):
(JSC::Wasm::Callee::entrypoint const):
(JSC::Wasm:: const):
(JSC::Wasm::Callee::calleeSaveRegisters):
(JSC::Wasm::Callee::operator delete):
(JSC::Wasm::LLIntCallee::calleeSaveRegistersImpl):
(JSC::Wasm::Callee::~Callee): Deleted.
(JSC::Wasm::LLIntCallee::setEntrypoint): Deleted.
(JSC::Wasm::LLIntCallee::entrypoint const): Deleted.
(JSC::Wasm::LLIntCallee::calleeSaveRegisters): Deleted.
* Source/JavaScriptCore/wasm/WasmCallee.h:
(JSC::Wasm::JITCallee:: const):
(JSC::Wasm::JITCallee::entrypointImpl const):
(JSC::Wasm::JITCallee::calleeSaveRegistersImpl):
Canonical link: https://commits.webkit.org/254461@main
More information about the webkit-changes
mailing list