Index: src/interface-descriptors.cc |
diff --git a/src/interface-descriptors.cc b/src/interface-descriptors.cc |
index 29c8c7229c7f14692203ab991e194ea084330ed2..ef2e817a4347bf8cbc2e709993f1164eb1fc10bf 100644 |
--- a/src/interface-descriptors.cc |
+++ b/src/interface-descriptors.cc |
@@ -101,6 +101,24 @@ FunctionType* LoadGlobalDescriptor::BuildCallInterfaceDescriptorFunctionType( |
Isolate* isolate, int paramater_count) { |
Zone* zone = isolate->interface_descriptor_zone(); |
FunctionType* function = |
+ Type::Function(AnyTagged(zone), Type::Undefined(), 2, zone)->AsFunction(); |
+ function->InitParameter(0, AnyTagged(zone)); |
+ function->InitParameter(1, SmiType(zone)); |
+ return function; |
+} |
+ |
+void LoadGlobalDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ Register registers[] = {LoadWithVectorDescriptor::NameRegister(), |
+ LoadWithVectorDescriptor::SlotRegister()}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
+FunctionType* |
+LoadGlobalWithVectorDescriptor::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)); |
@@ -108,7 +126,7 @@ FunctionType* LoadGlobalDescriptor::BuildCallInterfaceDescriptorFunctionType( |
return function; |
} |
-void LoadGlobalDescriptor::InitializePlatformSpecific( |
+void LoadGlobalWithVectorDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
Register registers[] = {LoadWithVectorDescriptor::NameRegister(), |
LoadWithVectorDescriptor::SlotRegister(), |
@@ -160,23 +178,6 @@ StoreTransitionDescriptor::BuildCallInterfaceDescriptorFunctionType( |
} |
FunctionType* |
-LoadGlobalViaContextDescriptor::BuildCallInterfaceDescriptorFunctionType( |
- Isolate* isolate, int paramater_count) { |
- Zone* zone = isolate->interface_descriptor_zone(); |
- FunctionType* function = |
- Type::Function(AnyTagged(zone), Type::Undefined(), 1, zone)->AsFunction(); |
- function->InitParameter(0, UntaggedIntegral32(zone)); |
- return function; |
-} |
- |
- |
-void LoadGlobalViaContextDescriptor::InitializePlatformSpecific( |
- CallInterfaceDescriptorData* data) { |
- Register registers[] = {SlotRegister()}; |
- data->InitializePlatformSpecific(arraysize(registers), registers); |
-} |
- |
-FunctionType* |
StoreGlobalViaContextDescriptor::BuildCallInterfaceDescriptorFunctionType( |
Isolate* isolate, int paramater_count) { |
Zone* zone = isolate->interface_descriptor_zone(); |