Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 12421d94ba14a8c1b79f348cc29d07bef4f99f03 https://github.com/WebKit/WebKit/commit/12421d94ba14a8c1b79f348cc29d07bef4f99f03 Author: Vassili Bykov <v_by...@apple.com> Date: 2025-08-29 (Fri, 29 Aug 2025)
Changed paths: M Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj M Source/JavaScriptCore/Sources.txt M Source/JavaScriptCore/assembler/JITOperationList.cpp M Source/JavaScriptCore/llint/InPlaceInterpreter.asm M Source/JavaScriptCore/runtime/VM.h M Source/JavaScriptCore/wasm/WasmCallee.cpp M Source/JavaScriptCore/wasm/WasmCallee.h M Source/JavaScriptCore/wasm/WasmCalleeGroup.cpp M Source/JavaScriptCore/wasm/js/JSWebAssemblyInstance.h M Source/JavaScriptCore/wasm/js/WebAssemblyBuiltin.cpp M Source/JavaScriptCore/wasm/js/WebAssemblyBuiltin.h A Source/JavaScriptCore/wasm/js/WebAssemblyBuiltinTrampoline.cpp A Source/JavaScriptCore/wasm/js/WebAssemblyBuiltinTrampoline.h M Source/JavaScriptCore/wasm/js/WebAssemblyModuleRecord.cpp Log Message: ----------- Enable JIT cage support in Wasm JS String builtins implementation https://bugs.webkit.org/show_bug.cgi?id=297985 rdar://159302038 Reviewed by Keith Miller. This patch changes the behavior of WasmBuiltinCallee so that if JIT cage is enabled, instead of using "static" builtin trampolines defined in InPlaceInterpreter.asm, we JIT-generate their equivalents. This ensures that the trampolines are callable from Wasm code. A Wasm builtin entry point is registered as a JIT operation to make it accessible from the generated trampoline. The patch also includes refactorings in WebAssemblyBuiltin.{h, cpp} to: - Use more appropriate types for the various code pointers held by WebAssemblyBuiltin. - Clean up hacky pointer tagging in initializeBuiltinImport() in WebAssemblyModuleRecord.cpp. - Use more descriptive names for the naming macros (the bulk of changes in WebAssemblyBuiltin.cpp). Canonical link: https://commits.webkit.org/299341@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes