Index: src/ia32/codegen-ia32.cc |
=================================================================== |
--- src/ia32/codegen-ia32.cc (revision 2133) |
+++ src/ia32/codegen-ia32.cc (working copy) |
@@ -1691,6 +1691,8 @@ |
int shift_value = int_value & 0x1f; |
operand->ToRegister(); |
if (shift_value == 0) { |
+ // Spill operand so it can be overwritten in the slow case. |
+ frame_->Spill(operand->reg()); |
DeferredInlineSmiOperation* deferred = |
new DeferredInlineSmiOperation(op, |
operand->reg(), |