Bug 56292

Summary: Should try to avoid popping return address in leaf functions.
Product: WebKit Reporter: Gavin Barraclough <barraclough>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   

Gavin Barraclough
Reported 2011-03-13 23:31:08 PDT
Presently we preserve the return address in the CallFrameHeader in the RegisterFile, since we don't allow any recursion on the machine stack. We should fairly trivially be able to avoid the extra push/pop of the return address in leaf functions.
Attachments
Note You need to log in before you can comment on or make changes to this bug.