Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1357)

Unified Diff: src/stub-cache.h

Issue 7901016: Basic support for tracking smi-only arrays on ia32. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix remaining failing tests Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698