Index: src/interface-descriptors.cc |
diff --git a/src/interface-descriptors.cc b/src/interface-descriptors.cc |
index 20cd7802ddd76e5a273a0997d682d1ef357ad3a8..0526bf998655bb8c161209d51d6f10998c94e246 100644 |
--- a/src/interface-descriptors.cc |
+++ b/src/interface-descriptors.cc |
@@ -117,17 +117,16 @@ 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()); |
+ AnyTagged(), Type::Undefined(), 2, isolate->interface_descriptor_zone()); |
+ function->InitParameter(0, UntaggedSigned32()); |
+ function->InitParameter(1, AnyTagged()); |
return function; |
} |
void LoadGlobalViaContextDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {DepthRegister(), SlotRegister(), NameRegister()}; |
+ Register registers[] = {SlotRegister(), NameRegister()}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
@@ -136,19 +135,17 @@ Type::FunctionType* |
StoreGlobalViaContextDescriptor::BuildCallInterfaceDescriptorFunctionType( |
Isolate* isolate, int paramater_count) { |
Type::FunctionType* function = Type::FunctionType::New( |
- AnyTagged(), Type::Undefined(), 4, isolate->interface_descriptor_zone()); |
- function->InitParameter(0, SmiType()); |
- function->InitParameter(1, SmiType()); |
+ AnyTagged(), Type::Undefined(), 3, isolate->interface_descriptor_zone()); |
+ function->InitParameter(0, UntaggedSigned32()); |
+ function->InitParameter(1, AnyTagged()); |
function->InitParameter(2, AnyTagged()); |
- function->InitParameter(3, AnyTagged()); |
return function; |
} |
void StoreGlobalViaContextDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {DepthRegister(), SlotRegister(), NameRegister(), |
- ValueRegister()}; |
+ Register registers[] = {SlotRegister(), NameRegister(), ValueRegister()}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |