Index: src/arm64/interface-descriptors-arm64.cc |
diff --git a/src/arm64/interface-descriptors-arm64.cc b/src/arm64/interface-descriptors-arm64.cc |
index a8ff37b4400e7757827bd587cb45164c1f7fc248..3dac70e78448bed2829ac021e46fab5fffe58652 100644 |
--- a/src/arm64/interface-descriptors-arm64.cc |
+++ b/src/arm64/interface-descriptors-arm64.cc |
@@ -446,28 +446,16 @@ |
} |
-void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( |
- CallInterfaceDescriptorData* data) { |
- Register registers[] = { |
- x0, // argument count (not including receiver) |
+void PushArgsAndCallDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ Register registers[] = { |
+ x0, // argument count (including receiver) |
x2, // address of first argument |
x1 // the target callable to be call |
}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
- |
-void InterpreterCEntryDescriptor::InitializePlatformSpecific( |
- CallInterfaceDescriptorData* data) { |
- Register registers[] = { |
- x0, // argument count (argc) |
- x11, // address of first argument (argv) |
- x1 // the runtime function to call |
- }; |
- data->InitializePlatformSpecific(arraysize(registers), registers); |
-} |
- |
- |
} // namespace internal |
} // namespace v8 |