New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JSC] Make JSToWasmICCallee one of Wasm::Callee #8087
[JSC] Make JSToWasmICCallee one of Wasm::Callee #8087
Conversation
EWS run on previous version of this PR (hash affabde) |
affabde
to
aa25bef
Compare
EWS run on previous version of this PR (hash aa25bef) |
aa25bef
to
f9e9dd8
Compare
EWS run on previous version of this PR (hash f9e9dd8) |
f9e9dd8
to
7f66602
Compare
EWS run on previous version of this PR (hash 7f66602) |
/replace ... to .../replace ... with .../ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me
7f66602
to
d5520a7
Compare
https://bugs.webkit.org/show_bug.cgi?id=204960 rdar://problem/103740549 Reviewed by Mark Lam. This patch replaces JSCell based JSToWasmICCallee with Wasm::Callee based JSToWasmICCallee, so we do not need to have a bit weird JS cell type for that. * JSTests/stress/sampling-profiler-wasm-name-section.js: (platformSupportsSamplingProfiler.vm.isWasmSupported): * JSTests/stress/sampling-profiler-wasm.js: (platformSupportsSamplingProfiler.vm.isWasmSupported): * JSTests/wasm/function-tests/nameSection.js: * Source/JavaScriptCore/CMakeLists.txt: * Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj: * Source/JavaScriptCore/Sources.txt: * Source/JavaScriptCore/heap/Heap.h: * Source/JavaScriptCore/heap/HeapSubspaceTypes.h: * Source/JavaScriptCore/interpreter/Interpreter.cpp: (JSC::UnwindFunctor::operator() const): * Source/JavaScriptCore/interpreter/StackVisitor.cpp: (JSC::StackVisitor::Frame::calleeSaveRegistersForUnwinding): * Source/JavaScriptCore/runtime/JSFunction.cpp: (JSC::getCalculatedDisplayName): * Source/JavaScriptCore/runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::init): (JSC::JSGlobalObject::visitChildrenImpl): * Source/JavaScriptCore/runtime/JSGlobalObject.h: (JSC::JSGlobalObject::webAssemblyFunctionStructure const): (JSC::JSGlobalObject::jsToWasmICCalleeStructure const): Deleted. * Source/JavaScriptCore/wasm/WasmCallee.cpp: (JSC::Wasm::Callee::runWithDowncast): (JSC::Wasm::JITCallee::JITCallee): (JSC::Wasm::JSToWasmICCallee::previousInstanceOffset): (JSC::Wasm::JSToWasmICCallee::previousInstance): * Source/JavaScriptCore/wasm/WasmCallee.h: (JSC::Wasm::JITCallee::setEntrypoint): * Source/JavaScriptCore/wasm/WasmCompilationMode.cpp: (JSC::Wasm::makeString): * Source/JavaScriptCore/wasm/WasmCompilationMode.h: (JSC::Wasm::isOSREntry): (JSC::Wasm::isAnyBBQ): (JSC::Wasm::isAnyOMG): * Source/JavaScriptCore/wasm/js/JSToWasmICCallee.cpp: Removed. * Source/JavaScriptCore/wasm/js/JSToWasmICCallee.h: Removed. * Source/JavaScriptCore/wasm/js/WebAssemblyFunction.cpp: (JSC::WebAssemblyFunction::jsCallEntrypointSlow): (JSC::WebAssemblyFunction::visitChildrenImpl): (JSC::WebAssemblyFunction::previousInstanceOffset const): Deleted. (JSC::WebAssemblyFunction::previousInstance): Deleted. * Source/JavaScriptCore/wasm/js/WebAssemblyFunction.h: Canonical link: https://commits.webkit.org/258368@main
d5520a7
to
08ce70f
Compare
Committed 258368@main (08ce70f): https://commits.webkit.org/258368@main Reviewed commits have been landed. Closing PR #8087 and removing active labels. |
08ce70f
d5520a7
π§ͺ ios-wk2π§ͺ api-macπ§ͺ gtk-wk2π§ͺ api-iosπ§ͺ mac-wk1π§ͺ api-gtkπ§ͺ mac-wk2π§ͺ mac-AS-debug-wk2π§ͺ jsc-armv7-testsπ§ͺ mac-wk2-stress