Index: src/x64/interface-descriptors-x64.cc |
diff --git a/src/x64/interface-descriptors-x64.cc b/src/x64/interface-descriptors-x64.cc |
index fe7789b1e888e3774b3793adfceddd502d8eead4..a9cda77a5833bd52afaa2935d2b8117d4b35c2db 100644 |
--- a/src/x64/interface-descriptors-x64.cc |
+++ b/src/x64/interface-descriptors-x64.cc |
@@ -365,6 +365,21 @@ void ApiAccessorDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
}; |
data->Initialize(arraysize(registers), registers, representations); |
} |
+ |
+ |
+void MathRoundVariantDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
+ Register registers[] = { |
+ rsi, // context |
+ rdi, // math rounding function |
+ rdx, // vector slot id |
+ }; |
+ Representation representations[] = { |
+ Representation::Tagged(), // |
+ Representation::Tagged(), // |
+ Representation::Tagged(), // |
+ }; |
+ data->Initialize(arraysize(registers), registers, representations); |
+} |
} |
} // namespace v8::internal |