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

Unified Diff: src/hydrogen.h

Issue 368263003: Use a stub in crankshaft for grow store arrays. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Performance fixes. Created 6 years, 5 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/hydrogen.h
diff --git a/src/hydrogen.h b/src/hydrogen.h
index 851e69225021029b501a3012f6d483b7acfeb846..317c995004f75db39be4ca2f82635c9f28b166e9 100644
--- a/src/hydrogen.h
+++ b/src/hydrogen.h
@@ -1332,6 +1332,13 @@ class HGraphBuilder {
bool is_js_array,
PropertyAccessType access_type);
+ HValue* BuildCheckAndGrowElementsCapacity(HValue* object,
+ HValue* elements,
+ ElementsKind kind,
+ HValue* length,
+ HValue* capacity,
+ HValue* key);
+
HValue* BuildCopyElementsOnWrite(HValue* object,
HValue* elements,
ElementsKind kind,

Powered by Google App Engine
This is Rietveld 408576698