Index: src/x64/interface-descriptors-x64.cc |
diff --git a/src/x64/interface-descriptors-x64.cc b/src/x64/interface-descriptors-x64.cc |
index d1903061430f153bd6bda473355402c814096d98..a90a69af2ae2425eb3698bba375a10553c449132 100644 |
--- a/src/x64/interface-descriptors-x64.cc |
+++ b/src/x64/interface-descriptors-x64.cc |
@@ -416,6 +416,19 @@ void InterpreterDispatchDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
+void InterpreterPushArgsAndCallICDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ Register registers[] = { |
+ rax, // argument count (not including receiver) |
+ rbx, // address of first argument |
+ rdi, // the target callable to be call |
+ rdx, // slot id |
+ r9, // type feedback vector // TODO(mythria): move to rbx to match |
+ // CallICStub. |
+ }; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
Register registers[] = { |