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

Unified Diff: src/compiler/arm64/linkage-arm64.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/arm/linkage-arm.cc ('k') | src/compiler/c-linkage.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/arm64/linkage-arm64.cc
diff --git a/src/compiler/arm64/linkage-arm64.cc b/src/compiler/arm64/linkage-arm64.cc
index a82b8c8450a61ad70ec3d68fe6bb4c84672e37ad..1a390ea05c94d225a78408db58d7b4ca9b4b5a76 100644
--- a/src/compiler/arm64/linkage-arm64.cc
+++ b/src/compiler/arm64/linkage-arm64.cc
@@ -21,23 +21,6 @@ struct Arm64LinkageHelperTraits {
static Register InterpreterDispatchTableReg() { return x20; }
static Register RuntimeCallFunctionReg() { return x1; }
static Register RuntimeCallArgCountReg() { return x0; }
- static RegList CCalleeSaveRegisters() {
- return (1 << x19.code()) | (1 << x20.code()) | (1 << x21.code()) |
- (1 << x22.code()) | (1 << x23.code()) | (1 << x24.code()) |
- (1 << x25.code()) | (1 << x26.code()) | (1 << x27.code()) |
- (1 << x28.code()) | (1 << x29.code()) | (1 << x30.code());
- }
- static RegList CCalleeSaveFPRegisters() {
- return (1 << d8.code()) | (1 << d9.code()) | (1 << d10.code()) |
- (1 << d11.code()) | (1 << d12.code()) | (1 << d13.code()) |
- (1 << d14.code()) | (1 << d15.code());
- }
- static Register CRegisterParameter(int i) {
- static Register register_parameters[] = {x0, x1, x2, x3, x4, x5, x6, x7};
- return register_parameters[i];
- }
- static int CRegisterParametersLength() { return 8; }
- static int CStackBackingStoreLength() { return 0; }
};
@@ -68,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/arm/linkage-arm.cc ('k') | src/compiler/c-linkage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698