Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9a16de46f205d3c76cc16f12dca3df02705791c3
https://github.com/WebKit/WebKit/commit/9a16de46f205d3c76cc16f12dca3df02705791c3
Author: Vignesh Rao <[email protected]>
Date: 2026-06-16 (Tue, 16 Jun 2026)
Changed paths:
M Source/JavaScriptCore/wasm/WasmCalleeGroup.cpp
Log Message:
-----------
[JSC] BBQCallee should be kept alive between callsite collection and repatch
https://bugs.webkit.org/show_bug.cgi?id=307669
rdar://170223517
Reviewed by Keith Miller.
OMGOSREntryCallee is owned by BBQCallee, hence keeping the BBQCallee alive
when we collect callsites to it should keep the OMGOSREntryCallee alive as
well. We have to handle the edge case where there is an OMGOSREntryCallee
alive without having a BBQCallee hence in such a case store a ref to this
OMGOSREntryCallee in a separate vector.
*
Source/JavaScriptCore/wasm/WasmCalleeGroup.cpp:
(JSC::Wasm::CalleeGroup::updateCallsitesToCallUs):
Originally-landed-as: 305413.583@safari-7624-branch (3288160b72d5).
rdar://176062092
Canonical link:
https://flagged.apple.com:443/proxy?t2=Dm0S0z5Do2&o=aHR0cHM6Ly9jb21taXRzLndlYmtpdC5vcmcvMzE1MzIwQG1haW4=&emid=5a558537-65d5-4aee-be7f-f420122ca053&c=11
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications