Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 4a401cdff150191864817cbed34cae8b28348e37..d2c4d71f2e1ac7cbbdfa6076ba8bb33b5c5cb738 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -441,14 +441,14 @@ void KeyedStoreElementStub::Generate(MacroAssembler* masm) { |
KeyedStoreStubCompiler::GenerateStoreFastElement(masm, |
is_js_array_, |
elements_kind_, |
- grow_mode_); |
+ store_mode_); |
} |
break; |
case FAST_DOUBLE_ELEMENTS: |
case FAST_HOLEY_DOUBLE_ELEMENTS: |
KeyedStoreStubCompiler::GenerateStoreFastDoubleElement(masm, |
is_js_array_, |
- grow_mode_); |
+ store_mode_); |
break; |
case EXTERNAL_BYTE_ELEMENTS: |
case EXTERNAL_UNSIGNED_BYTE_ELEMENTS: |
@@ -592,13 +592,13 @@ void ElementsTransitionAndStoreStub::Generate(MacroAssembler* masm) { |
KeyedStoreStubCompiler::GenerateStoreFastElement(masm, |
is_jsarray_, |
to_, |
- grow_mode_); |
+ store_mode_); |
} else if (IsFastSmiElementsKind(from_) && |
IsFastDoubleElementsKind(to_)) { |
ElementsTransitionGenerator::GenerateSmiToDouble(masm, mode, &fail); |
KeyedStoreStubCompiler::GenerateStoreFastDoubleElement(masm, |
is_jsarray_, |
- grow_mode_); |
+ store_mode_); |
} else if (IsFastDoubleElementsKind(from_)) { |
ASSERT(to_ == FAST_HOLEY_DOUBLE_ELEMENTS); |
ElementsTransitionGenerator:: |