| Index: src/hydrogen.h
|
| diff --git a/src/hydrogen.h b/src/hydrogen.h
|
| index 6aa82177cf8aa1a5581d153b93abf5c19633e29a..c7e7d1e78286bf37ed9d58b4cc881f68ba4300cf 100644
|
| --- a/src/hydrogen.h
|
| +++ b/src/hydrogen.h
|
| @@ -1538,12 +1538,13 @@ class HGraphBuilder {
|
|
|
| JSArrayBuilder(HGraphBuilder* builder,
|
| ElementsKind kind,
|
| - HValue* constructor_function);
|
| + HValue* constructor_function = NULL);
|
|
|
| HValue* AllocateEmptyArray();
|
| HValue* AllocateArray(HValue* capacity, HValue* length_field,
|
| bool fill_with_hole);
|
| HValue* GetElementsLocation() { return elements_location_; }
|
| + HValue* EmitMapCode();
|
|
|
| private:
|
| Zone* zone() const { return builder_->zone(); }
|
| @@ -1557,7 +1558,6 @@ class HGraphBuilder {
|
| return JSArray::kPreallocatedArrayElements;
|
| }
|
|
|
| - HValue* EmitMapCode();
|
| HValue* EmitInternalMapCode();
|
| HValue* EstablishEmptyArrayAllocationSize();
|
| HValue* EstablishAllocationSize(HValue* length_node);
|
|
|