Index: src/stub-cache.h |
diff --git a/src/stub-cache.h b/src/stub-cache.h |
index 18c157b165f24738a96fbf4c75826fa316bf26f9..ca6eec914b1594f71d94a092d2fa5db91e96d045 100644 |
--- a/src/stub-cache.h |
+++ b/src/stub-cache.h |
@@ -703,8 +703,14 @@ class KeyedStoreStubCompiler: public StubCompiler { |
MapList* receiver_maps, |
CodeList* handler_ics); |
+ enum StoreObjectAction { |
+ kObjectStoreCausesWriteBarrier, |
+ kObjectStoreForcesGeneric |
+ }; |
+ |
static void GenerateStoreFastElement(MacroAssembler* masm, |
- bool is_js_array); |
+ bool is_js_array, |
+ StoreObjectAction store_object_action); |
static void GenerateStoreFastDoubleElement(MacroAssembler* masm, |
bool is_js_array); |