Index: src/runtime/runtime-literals.cc |
diff --git a/src/runtime/runtime-literals.cc b/src/runtime/runtime-literals.cc |
index f14a7cfd8416243228e694014ad5d1c32adbb3dd..34feeba2b40082addc7f96cd217f341c23fa924e 100644 |
--- a/src/runtime/runtime-literals.cc |
+++ b/src/runtime/runtime-literals.cc |
@@ -109,7 +109,7 @@ MUST_USE_RESULT static MaybeHandle<Object> CreateObjectLiteralBoilerplate( |
return boilerplate; |
} |
-MaybeHandle<Object> Runtime::CreateArrayLiteralBoilerplate( |
+static MaybeHandle<Object> CreateArrayLiteralBoilerplate( |
Isolate* isolate, Handle<LiteralsArray> literals, |
Handle<FixedArray> elements) { |
// Create the JSArray. |
@@ -191,8 +191,7 @@ MUST_USE_RESULT static MaybeHandle<Object> CreateLiteralBoilerplate( |
case CompileTimeValue::OBJECT_LITERAL_SLOW_ELEMENTS: |
return CreateObjectLiteralBoilerplate(isolate, literals, elements, false); |
case CompileTimeValue::ARRAY_LITERAL: |
- return Runtime::CreateArrayLiteralBoilerplate(isolate, literals, |
- elements); |
+ return CreateArrayLiteralBoilerplate(isolate, literals, elements); |
default: |
UNREACHABLE(); |
return MaybeHandle<Object>(); |
@@ -280,7 +279,7 @@ MUST_USE_RESULT static MaybeHandle<AllocationSite> GetLiteralAllocationSite( |
Handle<Object> boilerplate; |
ASSIGN_RETURN_ON_EXCEPTION( |
isolate, boilerplate, |
- Runtime::CreateArrayLiteralBoilerplate(isolate, literals, elements), |
+ CreateArrayLiteralBoilerplate(isolate, literals, elements), |
AllocationSite); |
AllocationSiteCreationContext creation_context(isolate); |