Index: src/arm/interface-descriptors-arm.cc |
diff --git a/src/arm/interface-descriptors-arm.cc b/src/arm/interface-descriptors-arm.cc |
index 67f65f5cb39b9f97afb18426a8cc203b35061e3b..3dd5fab0e37ceb6374b88fa748c419be3ec38565 100644 |
--- a/src/arm/interface-descriptors-arm.cc |
+++ b/src/arm/interface-descriptors-arm.cc |
@@ -353,11 +353,22 @@ void ApiAccessorDescriptor::InitializePlatformSpecific( |
} |
-void MathRoundVariantDescriptor::InitializePlatformSpecific( |
- CallInterfaceDescriptorData* data) { |
+void MathRoundVariantCallFromUnoptimizedCodeDescriptor:: |
+ InitializePlatformSpecific(CallInterfaceDescriptorData* data) { |
+ Register registers[] = { |
+ r1, // math rounding function |
+ r3, // vector slot id |
+ }; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
+ |
+void MathRoundVariantCallFromOptimizedCodeDescriptor:: |
+ InitializePlatformSpecific(CallInterfaceDescriptorData* data) { |
Register registers[] = { |
r1, // math rounding function |
r3, // vector slot id |
+ r4, // type vector |
}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |