Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index 77485913acd970d468ba6979f6c4a8671c8c2b3e..26a399b9112892aeca5a75cd83abeba483ad7518 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -76,6 +76,10 @@ void InternalArrayNoArgumentConstructorStub::InitializeDescriptor( |
InitializeInternalArrayConstructorDescriptor(isolate(), descriptor, 0); |
} |
+void FastArrayPushStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { |
+ Address deopt_handler = Runtime::FunctionForId(Runtime::kArrayPush)->entry; |
+ descriptor->Initialize(rax, deopt_handler, -1, JS_FUNCTION_STUB_MODE); |
+} |
void InternalArraySingleArgumentConstructorStub::InitializeDescriptor( |
CodeStubDescriptor* descriptor) { |