Bug 56291
| Summary: | Could avoid add before checking RegisterFile::end | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Gavin Barraclough <barraclough> |
| Component: | JavaScriptCore | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Mark Lam
https://bugs.webkit.org/show_bug.cgi?id=124634 will take of this.
*** This bug has been marked as a duplicate of bug 124634 ***