[Webkit-unassigned] [Bug 97322] New: canOptimize() should not return with a random value

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 21 03:45:32 PDT 2012


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

           Summary: canOptimize() should not return with a random value
           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: zherczeg at webkit.org
                CC: barraclough at apple.com, fpizlo at apple.com


compilePatchGetArrayLength(...) in JIT.h creates a JIT jit(...) but the constructor does not set the m_canOptimize boolean flag for a default value when DFG JIT is enabled. After that it calls JIT::emitArrayProfilingSiteForBytecodeIndex(...) in JITInlineMethods.h which calls JIT::emitArrayProfilingSite(...). The latter do things randomly depending on the optimization flag. I think this behaviour is not intentional, so how can I fix it?

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