Index: src/interface-descriptors.cc |
diff --git a/src/interface-descriptors.cc b/src/interface-descriptors.cc |
index fa41eb003620d30643581196f0c070eb5688a40e..ccca57ec5af314c9a74f8860c102cef9a9cc76de 100644 |
--- a/src/interface-descriptors.cc |
+++ b/src/interface-descriptors.cc |
@@ -108,6 +108,46 @@ void StoreTransitionDescriptor::InitializePlatformSpecific( |
} |
+Type::FunctionType* |
+LoadGlobalViaContextDescriptor::BuildCallInterfaceDescriptorFunctionType( |
+ Isolate* isolate, int paramater_count) { |
+ Type::FunctionType* function = Type::FunctionType::New( |
+ AnyTagged(), Type::Undefined(), 3, isolate->interface_descriptor_zone()); |
+ function->InitParameter(0, SmiType()); |
+ function->InitParameter(1, SmiType()); |
+ function->InitParameter(2, AnyTagged()); |
+ return function; |
+} |
+ |
+ |
+void LoadGlobalViaContextDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ Register registers[] = {DepthRegister(), SlotRegister(), NameRegister()}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
+ |
+Type::FunctionType* |
+StoreGlobalViaContextDescriptor::BuildCallInterfaceDescriptorFunctionType( |
+ Isolate* isolate, int paramater_count) { |
+ Type::FunctionType* function = Type::FunctionType::New( |
+ AnyTagged(), Type::Undefined(), 5, isolate->interface_descriptor_zone()); |
+ function->InitParameter(0, SmiType()); |
+ function->InitParameter(1, SmiType()); |
+ function->InitParameter(2, AnyTagged()); |
+ function->InitParameter(3, AnyTagged()); |
+ return function; |
+} |
+ |
+ |
+void StoreGlobalViaContextDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ Register registers[] = {DepthRegister(), SlotRegister(), NameRegister(), |
+ ValueRegister()}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
+ |
void ElementTransitionAndStoreDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
Register registers[] = {ValueRegister(), MapRegister(), NameRegister(), |