Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 5e947e5f454bba53f46bec7f499b803c4206be45..86118ebf6bdbeeb185b7aec0a762389dcc9da356 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -4156,7 +4156,7 @@ void LCodeGen::DoMathLog(LMathLog* instr) { |
__ xorps(xmm_scratch, xmm_scratch); |
__ ucomisd(input_reg, xmm_scratch); |
__ j(above, &positive, Label::kNear); |
- __ j(equal, &zero, Label::kNear); |
+ __ j(not_carry, &zero, Label::kNear); |
ExternalReference nan = |
ExternalReference::address_of_canonical_non_hole_nan(); |
__ movsd(input_reg, Operand::StaticVariable(nan)); |