Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(612)

Unified Diff: src/ia32/interface-descriptors-ia32.cc

Issue 1137703002: Add a MathFloor stub generated with TurboFan (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Latest Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/ia32/interface-descriptors-ia32.cc
diff --git a/src/ia32/interface-descriptors-ia32.cc b/src/ia32/interface-descriptors-ia32.cc
index fc5c5c393139c5c0f4402ec1880468e56b8ce905..edee490c7421b6992628b7780b195e3c14e56700 100644
--- a/src/ia32/interface-descriptors-ia32.cc
+++ b/src/ia32/interface-descriptors-ia32.cc
@@ -364,6 +364,21 @@ void ApiAccessorDescriptor::Initialize(CallInterfaceDescriptorData* data) {
};
data->Initialize(arraysize(registers), registers, representations);
}
+
+
+void MathRoundVariantDescriptor::Initialize(CallInterfaceDescriptorData* data) {
+ Register registers[] = {
+ esi, // context
+ edi, // math rounding function
+ edx, // vector slot id
+ };
+ Representation representations[] = {
+ Representation::Tagged(), //
+ Representation::Tagged(), //
+ Representation::Tagged(), //
+ };
+ data->Initialize(arraysize(registers), registers, representations);
+}
}
} // namespace v8::internal

Powered by Google App Engine
This is Rietveld 408576698