[Webkit-unassigned] [Bug 74509] New: Interpose CodeNode between ScopeNode and ProgramNode et al

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 14 08:50:45 PST 2011


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

           Summary: Interpose CodeNode between ScopeNode and ProgramNode
                    et al
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: wingo at igalia.com


Currently in JS, variables are bound at functions, and in eval code, and in toplevel program code.  Harmony / ES6 introduces a new way to bind variables, in block scopes.  See bug 31813 for more.

The patch to be attached separates the concern of function binding with the other concerns of functions, eval code, and eval code (namely, holding a codeblock).  It does so by introducing a new class, CodeNode, between ScopeNode and ProgramNode.

A future patch will add BlockScopeNode whose superclass is ScopeNode.

-- 
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