Index: src/interface-descriptors.cc |
diff --git a/src/interface-descriptors.cc b/src/interface-descriptors.cc |
index 619af3f7b9b128a0c9c456a7b1117677a2b8daf0..f44ee619d9a992b6e741b23e7e8ec9932d6930db 100644 |
--- a/src/interface-descriptors.cc |
+++ b/src/interface-descriptors.cc |
@@ -447,8 +447,18 @@ void CallTrampolineDescriptor::InitializePlatformIndependent( |
void CallForwardVarargsDescriptor::InitializePlatformIndependent( |
CallInterfaceDescriptorData* data) { |
- // kTarget, kStartIndex |
+ // kTarget, kActualArgumentsCount, kStartIndex |
+ MachineType machine_types[] = {MachineType::AnyTagged(), MachineType::Int32(), |
+ MachineType::Int32()}; |
+ data->InitializePlatformIndependent(arraysize(machine_types), 0, |
+ machine_types); |
+} |
+ |
+void ConstructForwardVarargsDescriptor::InitializePlatformIndependent( |
+ CallInterfaceDescriptorData* data) { |
+ // kTarget, kNewTarget, kActualArgumentsCount, kStartIndex |
MachineType machine_types[] = {MachineType::AnyTagged(), |
+ MachineType::AnyTagged(), MachineType::Int32(), |
MachineType::Int32()}; |
data->InitializePlatformIndependent(arraysize(machine_types), 0, |
machine_types); |