Index: src/interface-descriptors.cc |
diff --git a/src/interface-descriptors.cc b/src/interface-descriptors.cc |
index 8fbdcc13e86d74624b27c75f1f9062ae9c24ac4c..073a0a38e750db8374c5d68013fb15fd50ee2af1 100644 |
--- a/src/interface-descriptors.cc |
+++ b/src/interface-descriptors.cc |
@@ -545,6 +545,19 @@ FunctionType* ApiAccessorDescriptor::BuildCallInterfaceDescriptorFunctionType( |
return function; |
} |
+FunctionType* |
+InterpreterDispatchDescriptor::BuildCallInterfaceDescriptorFunctionType( |
+ Isolate* isolate, int parameter_count) { |
+ Zone* zone = isolate->interface_descriptor_zone(); |
+ FunctionType* function = |
+ Type::Function(AnyTagged(zone), Type::Undefined(), 5, zone)->AsFunction(); |
+ function->InitParameter(kAccumulatorParameter, AnyTagged(zone)); |
+ function->InitParameter(kRegisterFileParameter, ExternalPointer(zone)); |
+ function->InitParameter(kBytecodeOffsetParameter, UntaggedIntegral32(zone)); |
+ function->InitParameter(kBytecodeArrayParameter, AnyTagged(zone)); |
+ function->InitParameter(kDispatchTableParameter, AnyTagged(zone)); |
+ return function; |
+} |
} // namespace internal |
} // namespace v8 |