Index: src/ia32/lithium-codegen-ia32.cc |
=================================================================== |
--- src/ia32/lithium-codegen-ia32.cc (revision 6669) |
+++ src/ia32/lithium-codegen-ia32.cc (working copy) |
@@ -804,7 +804,7 @@ |
__ test(left, Operand(left)); |
__ j(not_zero, &done); |
if (right->IsConstantOperand()) { |
- if (ToInteger32(LConstantOperand::cast(right)) < 0) { |
+ if (ToInteger32(LConstantOperand::cast(right)) <= 0) { |
DeoptimizeIf(no_condition, instr->environment()); |
} |
} else { |