Index: src/ia32/stub-cache-ia32.cc |
diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc |
index ca6a5bbb31ddadb10bfe903ead7aee7cd57cfb3d..d36014026e3e0b8f79b85614e4ebb2d9c61afe5a 100644 |
--- a/src/ia32/stub-cache-ia32.cc |
+++ b/src/ia32/stub-cache-ia32.cc |
@@ -523,7 +523,7 @@ void StoreStubCompiler::GenerateStoreTransition(MacroAssembler* masm, |
} |
} else if (representation.IsDouble()) { |
Label do_store, heap_number; |
- __ AllocateHeapNumber(storage_reg, scratch1, scratch2, slow); |
+ __ AllocateHeapNumber(storage_reg, scratch1, scratch2, slow, MUTABLE); |
__ JumpIfNotSmi(value_reg, &heap_number); |
__ SmiUntag(value_reg); |