Index: src/crankshaft/ia32/lithium-codegen-ia32.cc |
diff --git a/src/crankshaft/ia32/lithium-codegen-ia32.cc b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
index ea4be934311eb339d15ca92c414655142a897244..2d772b40a05d57c8dadd170676d68b92cc664e68 100644 |
--- a/src/crankshaft/ia32/lithium-codegen-ia32.cc |
+++ b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
@@ -4400,7 +4400,8 @@ void LCodeGen::EmitNumberUntagD(LNumberUntagD* instr, Register input_reg, |
DeoptimizeIf(not_equal, instr, |
DeoptimizeReason::kNotAHeapNumberUndefined); |
- __ pcmpeqd(result_reg, result_reg); |
+ __ xorpd(result_reg, result_reg); |
+ __ divsd(result_reg, result_reg); |
__ jmp(&done, Label::kNear); |
} |
} else { |