Index: src/interface-descriptors.cc |
diff --git a/src/interface-descriptors.cc b/src/interface-descriptors.cc |
index 8e0809f685fcd40e051627eaf410019f7776b95d..50638f94c94d12a22941c9b9cc68c23b2cb596f5 100644 |
--- a/src/interface-descriptors.cc |
+++ b/src/interface-descriptors.cc |
@@ -101,16 +101,14 @@ 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)); |
+ Type::Function(AnyTagged(zone), Type::Undefined(), 1, zone)->AsFunction(); |
+ function->InitParameter(0, SmiType(zone)); |
return function; |
} |
void LoadGlobalDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {LoadWithVectorDescriptor::NameRegister(), |
- LoadWithVectorDescriptor::SlotRegister()}; |
+ Register registers[] = {LoadWithVectorDescriptor::SlotRegister()}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
@@ -119,17 +117,15 @@ 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)); |
- function->InitParameter(2, AnyTagged(zone)); |
+ Type::Function(AnyTagged(zone), Type::Undefined(), 2, zone)->AsFunction(); |
+ function->InitParameter(0, SmiType(zone)); |
+ function->InitParameter(1, AnyTagged(zone)); |
return function; |
} |
void LoadGlobalWithVectorDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {LoadWithVectorDescriptor::NameRegister(), |
- LoadWithVectorDescriptor::SlotRegister(), |
+ Register registers[] = {LoadWithVectorDescriptor::SlotRegister(), |
LoadWithVectorDescriptor::VectorRegister()}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |