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

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

Issue 1137703002: Add a MathFloor stub generated with TurboFan (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix comment 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
« no previous file with comments | « no previous file | src/arm64/interface-descriptors-arm64.cc » ('j') | src/code-stubs.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm/interface-descriptors-arm.cc
diff --git a/src/arm/interface-descriptors-arm.cc b/src/arm/interface-descriptors-arm.cc
index caff56d5c85a4d4f4098503d4534b9fb1cd6f601..ed2bc38e08fb174ccc577cff87f7234c6484b89d 100644
--- a/src/arm/interface-descriptors-arm.cc
+++ b/src/arm/interface-descriptors-arm.cc
@@ -387,6 +387,21 @@ void ApiAccessorDescriptor::Initialize(CallInterfaceDescriptorData* data) {
data->Initialize(arraysize(registers), registers, representations,
&default_descriptor);
}
+
+
+void MathRoundVariantDescriptor::Initialize(CallInterfaceDescriptorData* data) {
+ Register registers[] = {
+ r1, // context
+ r2, // math rounding function
+ r3, // vector slot id
+ };
+ Representation representations[] = {
+ Representation::Tagged(), //
+ Representation::Tagged(), //
+ Representation::Tagged(), //
+ };
+ data->Initialize(arraysize(registers), registers, representations);
+}
}
} // namespace v8::internal
« no previous file with comments | « no previous file | src/arm64/interface-descriptors-arm64.cc » ('j') | src/code-stubs.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698