[Webkit-unassigned] [Bug 141412] New: Get rid of scopeRegister() tomfoolery in DFG::StackLayoutPhase

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 9 16:36:45 PST 2015


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

            Bug ID: 141412
           Summary: Get rid of scopeRegister() tomfoolery in
                    DFG::StackLayoutPhase
    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

StackLayoutPhase is attempting to ensure that the register that CodeBlock::scopeRegister() points to is the right one for the DFG.  But the DFG does nothing else to maintain the validity of the scopeRegister().  It's not captured as far as I can tell.  StackLayoutPhase doesn't explicitly mark it live.  So, by the time we get here the register referred to by CodeBlock::scopeRegister() is junk.  Moreover, CodeBlock::scopeRegister() is not used for DFG code blocks, and is hardly ever used outside of bytecode generation.

-- 
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/20150210/06d03926/attachment-0002.html>


More information about the webkit-unassigned mailing list