Index: src/interface-descriptors.cc |
diff --git a/src/interface-descriptors.cc b/src/interface-descriptors.cc |
index 58396695e4a41459507cd9c1150b5dd4e5e3c97b..04833f3a111fe0a96fec75d6d5d001b150275c8d 100644 |
--- a/src/interface-descriptors.cc |
+++ b/src/interface-descriptors.cc |
@@ -427,6 +427,19 @@ CallTrampolineDescriptor::BuildCallInterfaceDescriptorFunctionType( |
Type::FunctionType* |
+ConstructTrampolineDescriptor::BuildCallInterfaceDescriptorFunctionType( |
+ Isolate* isolate, int paramater_count) { |
+ Zone* zone = isolate->interface_descriptor_zone(); |
+ Type::FunctionType* function = |
+ Type::FunctionType::New(AnyTagged(zone), Type::Undefined(), 3, zone); |
+ function->InitParameter(0, AnyTagged(zone)); // target |
+ function->InitParameter(1, AnyTagged(zone)); // new.target |
+ function->InitParameter(2, UntaggedIntegral32(zone)); // actual #arguments |
+ return function; |
+} |
+ |
+ |
+Type::FunctionType* |
CallFunctionWithFeedbackDescriptor::BuildCallInterfaceDescriptorFunctionType( |
Isolate* isolate, int paramater_count) { |
Zone* zone = isolate->interface_descriptor_zone(); |