Index: src/interface-descriptors.cc |
diff --git a/src/interface-descriptors.cc b/src/interface-descriptors.cc |
index d179a3aa4820f8702030532da28791baf28f859f..a16cae7d61cc68062f2f9b8926eb2573f5405dd7 100644 |
--- a/src/interface-descriptors.cc |
+++ b/src/interface-descriptors.cc |
@@ -318,6 +318,21 @@ void StoreWithVectorDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
+FunctionType* |
+BinaryOpWithVectorDescriptor::BuildCallInterfaceDescriptorFunctionType( |
+ Isolate* isolate, int parameter_count) { |
+ DCHECK_EQ(parameter_count, kParameterCount); |
+ Zone* zone = isolate->interface_descriptor_zone(); |
+ FunctionType* function = |
+ Type::Function(AnyTagged(zone), Type::Undefined(), kParameterCount, zone) |
+ ->AsFunction(); |
+ function->InitParameter(kLeft, AnyTagged(zone)); |
+ function->InitParameter(kRight, AnyTagged(zone)); |
+ function->InitParameter(kSlot, UntaggedIntegral32(zone)); |
+ function->InitParameter(kVector, AnyTagged(zone)); |
+ return function; |
+} |
+ |
const Register ApiGetterDescriptor::ReceiverRegister() { |
return LoadDescriptor::ReceiverRegister(); |
} |