Index: src/interface-descriptors.cc |
diff --git a/src/interface-descriptors.cc b/src/interface-descriptors.cc |
index d77b1376159df35298293a05ec86e198cbac25b1..61a0d98229bcbe8edabdd138dec3d57b34cf4dd6 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( |