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

Unified Diff: src/compiler/arm/linkage-arm.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 | « no previous file | src/compiler/arm64/linkage-arm64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/arm/linkage-arm.cc
diff --git a/src/compiler/arm/linkage-arm.cc b/src/compiler/arm/linkage-arm.cc
index e3cd98290ff6104ffaf4f8c39b58ee462b023538..69d1e35097b79813d645b5022c371e51f3be6549 100644
--- a/src/compiler/arm/linkage-arm.cc
+++ b/src/compiler/arm/linkage-arm.cc
@@ -21,21 +21,6 @@ struct ArmLinkageHelperTraits {
static Register InterpreterDispatchTableReg() { return r8; }
static Register RuntimeCallFunctionReg() { return r1; }
static Register RuntimeCallArgCountReg() { return r0; }
- static RegList CCalleeSaveRegisters() {
- return r4.bit() | r5.bit() | r6.bit() | r7.bit() | r8.bit() | r9.bit() |
- r10.bit();
- }
- 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[] = {r0, r1, r2, r3};
- return register_parameters[i];
- }
- static int CRegisterParametersLength() { return 4; }
- static int CStackBackingStoreLength() { return 0; }
};
@@ -66,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 | « no previous file | src/compiler/arm64/linkage-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698