Bug 239264 - [JSC] Minimize the prologue and epilogue of leaf routines
Summary: [JSC] Minimize the prologue and epilogue of leaf routines
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-04-12 17:02 PDT by Robin Morisset
Modified: 2022-04-19 17:03 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Morisset 2022-04-12 17:02:59 PDT
I think that we currently always generate the same prologue and epilogue, regardless of whether or not that function calls anything or not.
We can probably omit some of that code for functions that call nothing, which I would expect would be a win at least for some Wasm code.
Comment 1 Radar WebKit Bug Importer 2022-04-19 17:03:14 PDT
<rdar://problem/91994888>