[Webkit-unassigned] [Bug 74633] New: Allow JSStaticScope to bind more than one variable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 15 11:00:58 PST 2011


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

           Summary: Allow JSStaticScope to bind more than one variable
           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


The patch to be attached generalizes JSStaticScope to be able to bind more than one variable.  As the symbol table could grow large, instead of copying it all the time, we refcount it.  A "template" JSStaticScope can beget other scope objects that share the symbol table, but have their own storage.  It also changes the push_new_scope op to take a template scope as an argument instead of an identifier.  Eventually we will remove the "value" arg from push_new_scope, and instead bind the variable with an op_put_scoped_var.

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