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

Unified Diff: src/compiler/mips64/linkage-mips64.cc

Issue 1266603002: [turbofan] Factor C call descriptor building into compiler/c-linkage.cc. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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 | « src/compiler/mips/linkage-mips.cc ('k') | src/compiler/ppc/linkage-ppc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/mips64/linkage-mips64.cc
diff --git a/src/compiler/mips64/linkage-mips64.cc b/src/compiler/mips64/linkage-mips64.cc
index ccdb11d55014ae2efee20de0beb7ec4f78a1e645..890ffb3a459c4f2f16460d4eb98c02653b06a9eb 100644
--- a/src/compiler/mips64/linkage-mips64.cc
+++ b/src/compiler/mips64/linkage-mips64.cc
@@ -21,20 +21,6 @@ struct MipsLinkageHelperTraits {
static Register InterpreterDispatchTableReg() { return s1; }
static Register RuntimeCallFunctionReg() { return a1; }
static Register RuntimeCallArgCountReg() { return a0; }
- static RegList CCalleeSaveRegisters() {
- return s0.bit() | s1.bit() | s2.bit() | s3.bit() | s4.bit() | s5.bit() |
- s6.bit() | s7.bit();
- }
- static RegList CCalleeSaveFPRegisters() {
- return f20.bit() | f22.bit() | f24.bit() | f26.bit() | f28.bit() |
- f30.bit();
- }
- static Register CRegisterParameter(int i) {
- static Register register_parameters[] = {a0, a1, a2, a3, a4, a5, a6, a7};
- return register_parameters[i];
- }
- static int CRegisterParametersLength() { return 8; }
- static int CStackBackingStoreLength() { return 0; }
};
@@ -65,12 +51,6 @@ CallDescriptor* Linkage::GetStubCallDescriptor(
}
-CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone,
- const MachineSignature* sig) {
- return LH::GetSimplifiedCDescriptor(zone, sig);
-}
-
-
CallDescriptor* Linkage::GetInterpreterDispatchDescriptor(Zone* zone) {
return LH::GetInterpreterDispatchDescriptor(zone);
}
« no previous file with comments | « src/compiler/mips/linkage-mips.cc ('k') | src/compiler/ppc/linkage-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698