Chromium Code Reviews| 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_; |
| }; |