Bug 56291

Summary: Could avoid add before checking RegisterFile::end
Product: WebKit Reporter: Gavin Barraclough <barraclough>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: mark.lam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   

Gavin Barraclough
Reported 2011-03-13 23:29:13 PDT
Could remove the add instruction in JIT code when checking RegisterFile end with a red-zone like approach. E.g. remove RegisterFile::m_end, and replace it with a variable tracking something like RegisterFile::m_endMinus1k, for example - for most functions, this would ensure sufficient space is available, we'd only need to add before checking if the space required was greater than 1k.
Attachments
Mark Lam
Comment 1 2013-11-19 22:30:00 PST
https://bugs.webkit.org/show_bug.cgi?id=124634 will take of this. *** This bug has been marked as a duplicate of bug 124634 ***
Note You need to log in before you can comment on or make changes to this bug.