Index: src/interface-descriptors.cc |
diff --git a/src/interface-descriptors.cc b/src/interface-descriptors.cc |
index c8daa5dc22f59c8f2b167f639d6f9b9b0e57a7e9..20cd7802ddd76e5a273a0997d682d1ef357ad3a8 100644 |
--- a/src/interface-descriptors.cc |
+++ b/src/interface-descriptors.cc |
@@ -100,11 +100,16 @@ void StoreDescriptor::InitializePlatformSpecific( |
} |
-void StoreTransitionDescriptor::InitializePlatformSpecific( |
- CallInterfaceDescriptorData* data) { |
- Register registers[] = {ReceiverRegister(), NameRegister(), ValueRegister(), |
- MapRegister()}; |
- data->InitializePlatformSpecific(arraysize(registers), registers); |
+Type::FunctionType* |
+StoreTransitionDescriptor::BuildCallInterfaceDescriptorFunctionType( |
+ Isolate* isolate, int paramater_count) { |
+ Type::FunctionType* function = Type::FunctionType::New( |
+ AnyTagged(), Type::Undefined(), 4, isolate->interface_descriptor_zone()); |
+ function->InitParameter(0, AnyTagged()); // Receiver |
+ function->InitParameter(1, AnyTagged()); // Name |
+ function->InitParameter(2, AnyTagged()); // Value |
+ function->InitParameter(3, AnyTagged()); // Map |
+ return function; |
} |
@@ -131,7 +136,7 @@ Type::FunctionType* |
StoreGlobalViaContextDescriptor::BuildCallInterfaceDescriptorFunctionType( |
Isolate* isolate, int paramater_count) { |
Type::FunctionType* function = Type::FunctionType::New( |
- AnyTagged(), Type::Undefined(), 5, isolate->interface_descriptor_zone()); |
+ AnyTagged(), Type::Undefined(), 4, isolate->interface_descriptor_zone()); |
function->InitParameter(0, SmiType()); |
function->InitParameter(1, SmiType()); |
function->InitParameter(2, AnyTagged()); |