| Index: src/runtime.h
|
| diff --git a/src/runtime.h b/src/runtime.h
|
| index 2625c69413678c6d3b2efd279a97894c506f84f3..0bd01b9a73bfb36a1579af6c09c3151cd32e3e0e 100644
|
| --- a/src/runtime.h
|
| +++ b/src/runtime.h
|
| @@ -290,8 +290,8 @@ namespace internal {
|
| F(MaterializeRegExpLiteral, 4, 1)\
|
| F(CreateObjectLiteral, 4, 1) \
|
| F(CreateObjectLiteralShallow, 4, 1) \
|
| - F(CreateArrayLiteral, 3, 1) \
|
| - F(CreateArrayLiteralShallow, 3, 1) \
|
| + F(CreateArrayLiteral, 4, 1) \
|
| + F(CreateArrayLiteralShallow, 4, 1) \
|
| \
|
| /* Harmony modules */ \
|
| F(IsJSModule, 1, 1) \
|
| @@ -700,6 +700,12 @@ class Runtime : public AllStatic {
|
| // Helper functions used stubs.
|
| static void PerformGC(Object* result);
|
|
|
| + // Used in runtime.cc and hydrogen's VisitObjectLiteral and VisitArrayLiteral
|
| + MUST_USE_RESULT static MaybeObject* DeepCopyBoilerplate(
|
| + Isolate* isolate,
|
| + JSObject* boilerplate,
|
| + AllocationSiteMode allocation_site_mode = DONT_TRACK_ALLOCATION_SITE);
|
| +
|
| // Used in runtime.cc and hydrogen's VisitArrayLiteral.
|
| static Handle<Object> CreateArrayLiteralBoilerplate(
|
| Isolate* isolate,
|
|
|