[Webkit-unassigned] [Bug 142153] New: BytecodeGenerator shouldn't emit op_resolve_scope as a roundabout way of returning the scopeRegister

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 1 12:52:17 PST 2015


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

            Bug ID: 142153
           Summary: BytecodeGenerator shouldn't emit op_resolve_scope as a
                    roundabout way of returning the scopeRegister
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: fpizlo at apple.com

Currently sometimes BytecodeGenerator will emit an op_resolve_scope with the LocalClosureVar mode and 0 as the scope depth, which ultimately gets turned into an operation that just moves the scopeRegister() to the result.  In cases like that, BytecodeGenerator should just use the scopeRegister() directly and not emit anything for scope resolution.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150301/905a4944/attachment-0002.html>


More information about the webkit-unassigned mailing list