Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 882d74359ed7d2cbf96ba0b38adfc88183827d5e..4c6ee86546781122c3fd0a39e20fa567b961b012 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -777,4 +777,19 @@ ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate, |
} |
+void InternalArrayConstructorStubBase::InstallDescriptors(Isolate* isolate) { |
+ InternalArrayNoArgumentConstructorStub stub1(FAST_ELEMENTS); |
+ InstallDescriptor(isolate, &stub1); |
+ InternalArraySingleArgumentConstructorStub stub2(FAST_ELEMENTS); |
+ InstallDescriptor(isolate, &stub2); |
+ InternalArrayNArgumentsConstructorStub stub3(FAST_ELEMENTS); |
+ InstallDescriptor(isolate, &stub3); |
+} |
+ |
+InternalArrayConstructorStub::InternalArrayConstructorStub( |
+ Isolate* isolate) { |
+ InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
+} |
+ |
+ |
} } // namespace v8::internal |