Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 8a1b679a5c8701a8c493dc3547d7393138109332..c392b455d55a5f69b9959a22b8081c904eb2e123 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -3726,7 +3726,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(); |
Operand nan_operand = masm()->ExternalOperand(nan); |