Revision: 19721
Author:   [email protected]
Date:     Fri Mar  7 12:12:50 2014 UTC
Log:      Windows build fix.

[email protected]

Review URL: https://codereview.chromium.org/189093009
http://code.google.com/p/v8/source/detail?r=19721

Modified:
 /branches/bleeding_edge/src/assembler.cc

=======================================
--- /branches/bleeding_edge/src/assembler.cc    Fri Mar  7 11:44:04 2014 UTC
+++ /branches/bleeding_edge/src/assembler.cc    Fri Mar  7 12:12:50 2014 UTC
@@ -1622,7 +1622,8 @@
     }
     delta = ad - r2;
   } while (q1 < delta || (q1 == delta && r1 == 0));
-  multiplier_ = (d < 0) ? -(q2 + 1) : (q2 + 1);
+  int32_t mul = static_cast<int32_t>(q2 + 1);
+  multiplier_ = (d < 0) ? -mul : mul;
   shift_ = p - 32;
 }

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to