[Webkit-unassigned] [Bug 79112] New: Refactor code feature analysis in the parser

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 21 08:23:48 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=79112

           Summary: Refactor code feature analysis in the parser
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: wingo at igalia.com


The patch to be attached has a changelog that says this:

This commit refactors the parser to more uniformly propagate flag
bits down and up the parse process, as the parser descends and
returns into nested blocks.  Some flags get passed town to
subscopes, some apply to specific scopes only, and some get
unioned up after parsing subscopes.

The goal is to eventually be very precise with scoping
information, once we have block scopes: one block scope might use
`eval', which would require the emission of a symbol table within
that block and containing blocks, whereas another block in the
same function might not, allowing us to not emit a symbol table.

***

I have to apologize for this being another one of those "refactoring" commits.  I'm getting tired of them too :)  But, I do think this is a positive change to make that will make some of the block scoping stuff easier.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list