Bug 234590

Summary: We should be able to OSR enter from BBQOSREntry code to OMGOSREntry code
Product: WebKit Reporter: Saam Barati <saam>
Component: JavaScriptCoreAssignee: Saam Barati <saam>
Status: NEW ---    
Severity: Normal CC: justin_michaud, keith_miller, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
WIP
none
WIP none

Description Saam Barati 2021-12-21 18:49:02 PST
We don't want to get stuck in BBQ forever in a long running loop.

I think architecturally it'd just be best if we compiled a single BBQ Air Callee. That Callee can support OSR entering
at certain loop boundaries. Perhaps we can implement it via entry switch. If we do that, this problem solves itself.
Comment 1 Saam Barati 2021-12-22 17:23:51 PST
Created attachment 447847 [details]
WIP
Comment 2 Saam Barati 2021-12-22 17:54:46 PST
Created attachment 447849 [details]
WIP

It's revealing a regalloc bug in O0
Comment 3 Radar WebKit Bug Importer 2021-12-28 18:49:19 PST
<rdar://problem/86968861>