| Index: src/runtime.h
|
| diff --git a/src/runtime.h b/src/runtime.h
|
| index 2959fedc5623e34da61762a3cf1c8a6960ce0631..d9bcdba895db41032a316af9a0e361e3ec23f44e 100644
|
| --- a/src/runtime.h
|
| +++ b/src/runtime.h
|
| @@ -292,8 +292,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) \
|
| @@ -707,6 +707,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,
|
|
|