Reviewers: Søren Gjesse,

Message:
the bug number in the description is the issue number.

Description:
Fix an issue in DoMulI and address mjsunit test failure.

BUG=1098
TEST=none


Please review this at http://codereview.chromium.org/6312151/

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/arm/lithium-codegen-arm.cc


Index: src/arm/lithium-codegen-arm.cc
===================================================================
--- src/arm/lithium-codegen-arm.cc      (revision 6653)
+++ src/arm/lithium-codegen-arm.cc      (working copy)
@@ -1174,7 +1174,7 @@

   if (instr->hydrogen()->CheckFlag(HValue::kCanOverflow)) {
     // scratch:left = left * right.
-    __ smull(scratch, left, left, right);
+    __ smull(left, scratch, left, right);
     __ mov(ip, Operand(left, ASR, 31));
     __ cmp(ip, Operand(scratch));
     DeoptimizeIf(ne, instr->environment());
@@ -3412,7 +3412,6 @@
   VFPRoundingMode rounding_mode = instr->truncating() ? kRoundToMinusInf
                                                       : kRoundToNearest;

-
   EmitVFPTruncate(rounding_mode,
                   single_scratch,
                   double_input,


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to