Bug 234590 - We should be able to OSR enter from BBQOSREntry code to OMGOSREntry code
Summary: We should be able to OSR enter from BBQOSREntry code to OMGOSREntry code
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Saam Barati
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-12-21 18:49 PST by Saam Barati
Modified: 2021-12-28 18:49 PST (History)
4 users (show)

See Also:


Attachments
WIP (97.29 KB, patch)
2021-12-22 17:23 PST, Saam Barati
no flags Details | Formatted Diff | Diff
WIP (97.29 KB, patch)
2021-12-22 17:54 PST, Saam Barati
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>