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.
Created attachment 260708 [details] Patch
Comment on attachment 260708 [details] Patch r=me
Comment on attachment 260708 [details] Patch Clearing flags on attachment: 260708 Committed r189444: <http://trac.webkit.org/changeset/189444>
All reviewed patches have been landed. Closing bug.