Index: src/interface-descriptors.cc |
diff --git a/src/interface-descriptors.cc b/src/interface-descriptors.cc |
index 7dc36aa2123344002f2f05c9e299f2a37d8699ba..d179a3aa4820f8702030532da28791baf28f859f 100644 |
--- a/src/interface-descriptors.cc |
+++ b/src/interface-descriptors.cc |
@@ -79,6 +79,23 @@ void VoidDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(0, nullptr); |
} |
+FunctionType* |
+FastNewFunctionContextDescriptor::BuildCallInterfaceDescriptorFunctionType( |
+ Isolate* isolate, int parameter_count) { |
+ Zone* zone = isolate->interface_descriptor_zone(); |
+ FunctionType* function = |
+ Type::Function(AnyTagged(zone), Type::Undefined(), 2, zone)->AsFunction(); |
+ function->InitParameter(0, AnyTagged(zone)); |
+ function->InitParameter(1, UntaggedIntegral32(zone)); |
+ return function; |
+} |
+ |
+void FastNewFunctionContextDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ Register registers[] = {FunctionRegister(), SlotsRegister()}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
FunctionType* LoadDescriptor::BuildCallInterfaceDescriptorFunctionType( |
Isolate* isolate, int parameter_count) { |
Zone* zone = isolate->interface_descriptor_zone(); |