Index: src/ia32/interface-descriptors-ia32.cc |
diff --git a/src/ia32/interface-descriptors-ia32.cc b/src/ia32/interface-descriptors-ia32.cc |
index 4eefa94510b9969d4573ff855bf56656b73c7350..be0b2cd17f92dbd38df9291cef556d5f50f202ec 100644 |
--- a/src/ia32/interface-descriptors-ia32.cc |
+++ b/src/ia32/interface-descriptors-ia32.cc |
@@ -332,11 +332,22 @@ void ApiAccessorDescriptor::InitializePlatformSpecific( |
} |
-void MathRoundVariantDescriptor::InitializePlatformSpecific( |
- CallInterfaceDescriptorData* data) { |
+void MathRoundVariantCallFromUnoptimizedCodeDescriptor:: |
+ InitializePlatformSpecific(CallInterfaceDescriptorData* data) { |
+ Register registers[] = { |
+ edi, // math rounding function |
+ edx, // vector slot id |
+ }; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
+ |
+void MathRoundVariantCallFromOptimizedCodeDescriptor:: |
+ InitializePlatformSpecific(CallInterfaceDescriptorData* data) { |
Register registers[] = { |
edi, // math rounding function |
edx, // vector slot id |
+ ebx // type vector |
}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |