Bug 16472

Summary: Perform an AST transform to swap out non-break/continue checking loops
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: JavaScriptCoreAssignee: 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)
Reported 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.
Attachments
Cameron Zwarich (cpst)
Comment 1 2008-06-08 20:50:52 PDT
This optimization is obsoleted by SquirrelFish.
Note You need to log in before you can comment on or make changes to this bug.