Index: src/x64/interface-descriptors-x64.cc |
diff --git a/src/x64/interface-descriptors-x64.cc b/src/x64/interface-descriptors-x64.cc |
index c654c94f1fe2f35fbb0b8513bbbc86d31652f5fa..a062df590fd83cd28892e908c108260009f9403c 100644 |
--- a/src/x64/interface-descriptors-x64.cc |
+++ b/src/x64/interface-descriptors-x64.cc |
@@ -392,27 +392,16 @@ |
} |
-void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( |
- CallInterfaceDescriptorData* data) { |
- Register registers[] = { |
- rax, // argument count (not including receiver) |
+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); |
} |
- |
-void InterpreterCEntryDescriptor::InitializePlatformSpecific( |
- CallInterfaceDescriptorData* data) { |
- Register registers[] = { |
- rax, // argument count (argc) |
- r15, // address of first argument (argv) |
- rbx // the runtime function to call |
- }; |
- data->InitializePlatformSpecific(arraysize(registers), registers); |
-} |
- |
} // namespace internal |
} // namespace v8 |