Index: src/interface-descriptors.cc |
diff --git a/src/interface-descriptors.cc b/src/interface-descriptors.cc |
index 04833f3a111fe0a96fec75d6d5d001b150275c8d..815027ed4bed02ee4d2227b41308382aacf3213e 100644 |
--- a/src/interface-descriptors.cc |
+++ b/src/interface-descriptors.cc |
@@ -377,6 +377,20 @@ void GrowArrayElementsDescriptor::InitializePlatformSpecific( |
Type::FunctionType* |
+FastCloneRegExpDescriptor::BuildCallInterfaceDescriptorFunctionType( |
+ Isolate* isolate, int paramater_count) { |
+ Zone* zone = isolate->interface_descriptor_zone(); |
+ Type::FunctionType* function = |
+ Type::FunctionType::New(AnyTagged(zone), Type::Undefined(), 4, zone); |
+ function->InitParameter(0, AnyTagged(zone)); // closure |
+ function->InitParameter(1, SmiType(zone)); // literal_index |
+ function->InitParameter(2, AnyTagged(zone)); // pattern |
+ function->InitParameter(3, AnyTagged(zone)); // flags |
+ return function; |
+} |
+ |
+ |
+Type::FunctionType* |
FastCloneShallowArrayDescriptor::BuildCallInterfaceDescriptorFunctionType( |
Isolate* isolate, int paramater_count) { |
Zone* zone = isolate->interface_descriptor_zone(); |