[Webkit-unassigned] [Bug 69821] New: Switch RegisterSizedBoolean/dfgConvertJSValueToInt32 return type to size_t

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 11 00:13:44 PDT 2011


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

           Summary: Switch RegisterSizedBoolean/dfgConvertJSValueToInt32
                    return type to size_t
           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: barraclough at apple.com


Operations returning types Z (int32_t) and B (RegisterSizedBoolean - implemented as an intptr_t) are indistinguishable on 32-bit Linux, preventing the DFG JIT from building.

dfgConvertJSValueToInt32 would be better returning a value known to be register sized, for JSVALUE64 (we currently zero-extend in JIT code, potentially introducing an unnecessary mov), so by switching all associated operations to return a size_t we can fix the type problem on Linux & make it a small tweak that removes an unnecessary instruction.

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