Index: src/arm/interface-descriptors-arm.cc |
diff --git a/src/arm/interface-descriptors-arm.cc b/src/arm/interface-descriptors-arm.cc |
index 5dda75236cd706faf5b3617e6486a7ffc0c36c9b..aa49843bd05bc25021d0e3a756ffa324409b4059 100644 |
--- a/src/arm/interface-descriptors-arm.cc |
+++ b/src/arm/interface-descriptors-arm.cc |
@@ -417,27 +417,16 @@ |
} |
-void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( |
- CallInterfaceDescriptorData* data) { |
- Register registers[] = { |
- r0, // argument count (not including receiver) |
+void PushArgsAndCallDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ Register registers[] = { |
+ r0, // argument count (including receiver) |
r2, // address of first argument |
r1 // the target callable to be call |
}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
- |
-void InterpreterCEntryDescriptor::InitializePlatformSpecific( |
- CallInterfaceDescriptorData* data) { |
- Register registers[] = { |
- r0, // argument count (argc) |
- r2, // address of first argument (argv) |
- r1 // the runtime function to call |
- }; |
- data->InitializePlatformSpecific(arraysize(registers), registers); |
-} |
- |
} // namespace internal |
} // namespace v8 |