Revision: 15847
Author:   [email protected]
Date:     Wed Jul 24 01:32:21 2013
Log:      Removed usesless test instruction.

[email protected]

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

Modified:
 /branches/bleeding_edge/src/ia32/lithium-codegen-ia32.cc

=======================================
--- /branches/bleeding_edge/src/ia32/lithium-codegen-ia32.cc Tue Jul 23 06:35:10 2013 +++ /branches/bleeding_edge/src/ia32/lithium-codegen-ia32.cc Wed Jul 24 01:32:21 2013
@@ -3782,8 +3782,7 @@
   __ test(input_reg, Operand(input_reg));
   Label is_positive;
   __ j(not_sign, &is_positive);
-  __ neg(input_reg);
-  __ test(input_reg, Operand(input_reg));
+  __ neg(input_reg);  // Sets flags.
   DeoptimizeIf(negative, instr->environment());
   __ bind(&is_positive);
 }

--
--
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/groups/opt_out.


Reply via email to