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

Unified Diff: src/compiler/linkage-impl.h

Issue 1191513003: [turbofan] Add CalleeSavedFPRegisters to CallDescriptor. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased on bleeding_edge (af4c4b04). Created 5 years, 6 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/compiler/linkage-impl.h
diff --git a/src/compiler/linkage-impl.h b/src/compiler/linkage-impl.h
index a648148be4b57c9f2fc9a65f64e83e04ed99e126..a28f1d322e1a7aabdc8c306cdf3b81db9b9a5092 100644
--- a/src/compiler/linkage-impl.h
+++ b/src/compiler/linkage-impl.h
@@ -70,6 +70,7 @@ class LinkageHelper {
js_parameter_count, // js_parameter_count
Operator::kNoProperties, // properties
kNoCalleeSaved, // callee-saved
+ kNoCalleeSaved, // callee-saved fp
flags, // flags
"js-call");
}
@@ -131,6 +132,7 @@ class LinkageHelper {
js_parameter_count, // js_parameter_count
properties, // properties
kNoCalleeSaved, // callee-saved
+ kNoCalleeSaved, // callee-saved fp
flags, // flags
function->name); // debug name
}
@@ -191,6 +193,7 @@ class LinkageHelper {
js_parameter_count, // js_parameter_count
properties, // properties
kNoCalleeSaved, // callee-saved registers
+ kNoCalleeSaved, // callee-saved fp
flags, // flags
descriptor.DebugName(isolate));
}
@@ -217,16 +220,17 @@ class LinkageHelper {
// The target for C calls is always an address (i.e. machine pointer).
MachineType target_type = kMachPtr;
LinkageLocation target_loc = LinkageLocation::AnyRegister();
- return new (zone) CallDescriptor( // --
- CallDescriptor::kCallAddress, // kind
- target_type, // target MachineType
- target_loc, // target location
- msig, // machine_sig
- locations.Build(), // location_sig
- 0, // js_parameter_count
- Operator::kNoProperties, // properties
- LinkageTraits::CCalleeSaveRegisters(), // callee-saved registers
- CallDescriptor::kNoFlags, // flags
+ return new (zone) CallDescriptor( // --
+ CallDescriptor::kCallAddress, // kind
+ target_type, // target MachineType
+ target_loc, // target location
+ msig, // machine_sig
+ locations.Build(), // location_sig
+ 0, // js_parameter_count
+ Operator::kNoProperties, // properties
+ LinkageTraits::CCalleeSaveRegisters(), // callee-saved registers
+ LinkageTraits::CCalleeSaveFPRegisters(), // callee-saved fp regs
+ CallDescriptor::kNoFlags, // flags
"c-call");
}

Powered by Google App Engine
This is Rietveld 408576698