Index: src/x64/interface-descriptors-x64.cc |
diff --git a/src/x64/interface-descriptors-x64.cc b/src/x64/interface-descriptors-x64.cc |
index d9f6d05a1e9a2424507d4c48751afbc020dd2ed0..146d9a89a56353291d60a129d200f9d409da56ea 100644 |
--- a/src/x64/interface-descriptors-x64.cc |
+++ b/src/x64/interface-descriptors-x64.cc |
@@ -381,6 +381,18 @@ void MathRoundVariantCallFromOptimizedCodeDescriptor:: |
}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
+ |
+ |
+void PushArgsAndCallDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ Register registers[] = { |
+ rax, // argument count (including receiver) |
+ rbx, // address of first argument |
+ rdi // the target callable to be call |
+ }; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
} // namespace internal |
} // namespace v8 |