Index: src/x64/interface-descriptors-x64.cc |
diff --git a/src/x64/interface-descriptors-x64.cc b/src/x64/interface-descriptors-x64.cc |
index b6040dfc09fadab513dd9a0a92fb769235a26577..7d39b42ac34d08e836081b132eb384279c6d3006 100644 |
--- a/src/x64/interface-descriptors-x64.cc |
+++ b/src/x64/interface-descriptors-x64.cc |
@@ -294,6 +294,17 @@ void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
+void BinaryOpWithVectorDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ // register state |
+ // rdx -- lhs |
+ // rax -- rhs |
+ // rdi -- slot id |
+ // rbx -- vector |
+ Register registers[] = {rdx, rax, rdi, rbx}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
void CountOpDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
Register registers[] = {rax}; |