Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index 6c070891d47b9d734f419c5759a51c1e9669e958..2b0244d9728ee7f9898a136ce9c6d66473b796a2 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -275,7 +275,7 @@ void DoubleToIStub::Generate(MacroAssembler* masm) { |
Immediate(static_cast<uint32_t>(Double::kSignificandMask >> 32))); |
__ add(result_reg, |
Immediate(static_cast<uint32_t>(Double::kHiddenBit >> 32))); |
- __ shrd(result_reg, scratch1); |
+ __ shrd_cl(scratch1, result_reg); |
__ shr_cl(result_reg); |
__ test(ecx, Immediate(32)); |
__ cmov(not_equal, scratch1, result_reg); |