[Webkit-unassigned] [Bug 148908] New: Simplify JIT::emit_op_mod()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 6 02:39:27 PDT 2015


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

            Bug ID: 148908
           Summary: Simplify JIT::emit_op_mod()
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sukolsak at gmail.com

The IDIV instruction on x86 divides the value in the EDX:EAX registers by the source operand and stores the quotient in EAX and the remainder in EDX. Therefore, we store the values that we don't want to be overwritten by IDIV in registers that are not EAX or EDX. This patch makes the intention clearer and makes the code easier to read.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150906/04948ff3/attachment.html>


More information about the webkit-unassigned mailing list