Bug 16472 - Perform an AST transform to swap out non-break/continue checking loops
Summary: Perform an AST transform to swap out non-break/continue checking loops
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-17 03:40 PST by Eric Seidel (no email)
Modified: 2008-06-08 20:50 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2007-12-17 03:40:26 PST
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.
Comment 1 Cameron Zwarich (cpst) 2008-06-08 20:50:52 PDT
This optimization is obsoleted by SquirrelFish.