Index: src/interface-descriptors.cc |
diff --git a/src/interface-descriptors.cc b/src/interface-descriptors.cc |
index d18dacc2631b3904a9e0cad0cf3b00239572baf3..29c8c7229c7f14692203ab991e194ea084330ed2 100644 |
--- a/src/interface-descriptors.cc |
+++ b/src/interface-descriptors.cc |
@@ -97,6 +97,24 @@ void LoadDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
+FunctionType* LoadGlobalDescriptor::BuildCallInterfaceDescriptorFunctionType( |
+ Isolate* isolate, int paramater_count) { |
+ Zone* zone = isolate->interface_descriptor_zone(); |
+ FunctionType* function = |
+ Type::Function(AnyTagged(zone), Type::Undefined(), 3, zone)->AsFunction(); |
+ function->InitParameter(0, AnyTagged(zone)); |
+ function->InitParameter(1, SmiType(zone)); |
+ function->InitParameter(2, AnyTagged(zone)); |
+ return function; |
+} |
+ |
+void LoadGlobalDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ Register registers[] = {LoadWithVectorDescriptor::NameRegister(), |
+ LoadWithVectorDescriptor::SlotRegister(), |
+ LoadWithVectorDescriptor::VectorRegister()}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
void StoreDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |