[Webkit-unassigned] [Bug 19484] New: More instructions needs to use temporary registers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 11 09:32:13 PDT 2008


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

           Summary: More instructions needs to use temporary registers
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cwzwarich at uwaterloo.ca
                CC: mjs at apple.com, ggaren at apple.com, oliver at apple.com


The code

var a = 1;
print(a + ++a);

prints 4 instead of 3, because we are not moving 'a' to a temporary registers.
I fixed this for assignment nodes, but a similar thing needs to be done for a
lot more nodes. I'll try to fix this for binary operations today and hope that
it doesn't cause too much of a performance regression.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list