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

Unified Diff: src/hydrogen.h

Issue 14576005: Adapt hydrogen-based Array constructor to also support InternalArray and function call (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Refactoring and restored flag for now Created 7 years, 7 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 b053fc71c5fc33fbd449da41eadfb18e5cb4db4f..22a08951b398e762eb2890fc25c188984b6e1cd7 100644
--- a/src/hydrogen.h
+++ b/src/hydrogen.h
@@ -1243,6 +1243,10 @@ class HGraphBuilder {
HValue* allocation_site_payload,
AllocationSiteMode mode);
+ JSArrayBuilder(HGraphBuilder* builder,
+ ElementsKind kind,
+ HValue* constructor_function);
+
HValue* AllocateEmptyArray();
HValue* AllocateArray(HValue* capacity, HValue* length_field,
bool fill_with_hole);
@@ -1264,6 +1268,7 @@ class HGraphBuilder {
}
HValue* EmitMapCode(HValue* context);
+ HValue* InternalEmitMapCode();
Michael Starzinger 2013/05/23 09:16:49 nit: Can we call this "EmitInternalMapCode()", tha
mvstanton 2013/05/23 14:46:05 Done.
HValue* EstablishEmptyArrayAllocationSize();
HValue* EstablishAllocationSize(HValue* length_node);
HValue* AllocateArray(HValue* size_in_bytes, HValue* capacity,
@@ -1273,6 +1278,7 @@ class HGraphBuilder {
ElementsKind kind_;
AllocationSiteMode mode_;
HValue* allocation_site_payload_;
+ HValue* constructor_function_;
HInnerAllocatedObject* elements_location_;
};

Powered by Google App Engine
This is Rietveld 408576698