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

Unified Diff: src/mips64/interface-descriptors-mips64.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/mips64/interface-descriptors-mips64.cc
diff --git a/src/mips64/interface-descriptors-mips64.cc b/src/mips64/interface-descriptors-mips64.cc
index 50ad745eac8e568b358b24bcf8d1a56e0d36ba78..07367835d15f6201a365dbcc2b7c680f5c4ddf4a 100644
--- a/src/mips64/interface-descriptors-mips64.cc
+++ b/src/mips64/interface-descriptors-mips64.cc
@@ -363,6 +363,21 @@ void ApiAccessorDescriptor::Initialize(CallInterfaceDescriptorData* data) {
};
data->Initialize(arraysize(registers), registers, representations);
}
+
+
+void MathRoundVariantDescriptor::Initialize(CallInterfaceDescriptorData* data) {
+ Register registers[] = {
+ a1, // context
+ a2, // math rounding function
+ a3, // 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