[Webkit-unassigned] [Bug 28513] New: Numbering of arguments to emitGetJITStubArg/emitPutJITStubArg incorrect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 20 16:22:03 PDT 2009


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

           Summary: Numbering of arguments to
                    emitGetJITStubArg/emitPutJITStubArg incorrect
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: barraclough at apple.com


The argumentNumber argument to emitGetJITStubArg/emitPutJITStubArg should match
the argument number used within the stub functions in JITStubs.cpp, but it
doesn't.
Firstly, all the numbers changed when we added a void* 'reserved' as the first
slot (rather than leaving argument 0 unused), and secondly in 32_64 builds the
index to peek/poke needs to be multiplies by 2 (since the argument to peek/poke
is a number of machine words, and on 32_64 build the argument slots to stub
functions are two words wide).

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