Index: src/interface-descriptors.cc |
diff --git a/src/interface-descriptors.cc b/src/interface-descriptors.cc |
index 78ad77b9bd2d45bc243858ae09ad079029b2d1ac..3ade26a1c4c7ac6bd61051d7520790511d451a75 100644 |
--- a/src/interface-descriptors.cc |
+++ b/src/interface-descriptors.cc |
@@ -377,14 +377,16 @@ void GrowArrayElementsDescriptor::InitializePlatformSpecific( |
void NewArgumentsElementsDescriptor::InitializePlatformIndependent( |
CallInterfaceDescriptorData* data) { |
- MachineType const kMachineTypes[] = {MachineType::IntPtr()}; |
+ // kFrame, kLength |
+ MachineType const kMachineTypes[] = {MachineType::Pointer(), |
+ MachineType::TaggedSigned()}; |
data->InitializePlatformIndependent(arraysize(kMachineTypes), 0, |
kMachineTypes); |
} |
void NewArgumentsElementsDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- DefaultInitializePlatformSpecific(data, 1); |
+ DefaultInitializePlatformSpecific(data, 2); |
} |
void VarArgFunctionDescriptor::InitializePlatformIndependent( |