Bug 16472
| Summary: | Perform an AST transform to swap out non-break/continue checking loops | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ggaren, mjs |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac | ||
| OS: | OS X 10.4 | ||
Eric Seidel (no email)
Perform an AST transform to swap out non-break/continue checking loops
We don't need to check break/continue returns at runtime if we can scan the kids of a loop node after the parse to insure that none of the kids contain a break or continue node.
This could be at least a small speedup in SunSpider, and would probably be pretty straightforward to implement.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Cameron Zwarich (cpst)
This optimization is obsoleted by SquirrelFish.