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

Unified Diff: runtime/vm/constants_arm.h

Issue 1192103004: VM: New calling convention for generated code. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fixed comments Created 5 years, 3 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 | « runtime/vm/compiler.cc ('k') | runtime/vm/constants_arm64.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/constants_arm.h
diff --git a/runtime/vm/constants_arm.h b/runtime/vm/constants_arm.h
index c4487b6b8b4a179b023c6b923793c4674e27242b..9bd7640420154962f51ff713513548ccfa9753da 100644
--- a/runtime/vm/constants_arm.h
+++ b/runtime/vm/constants_arm.h
@@ -45,11 +45,11 @@ enum Register {
R14 = 14,
kLastFreeCpuRegister = 14,
R15 = 15,
- FP = 11,
- IP = 12,
- SP = 13,
- LR = 14,
- PC = 15,
+ FP = R11,
+ IP = R12,
+ SP = R13,
+ LR = R14,
+ PC = R15,
kNumberOfCpuRegisters = 16,
};
@@ -231,13 +231,14 @@ const FpuRegister kNoFpuRegister = kNoQRegister;
// Register aliases.
const Register TMP = IP; // Used as scratch register by assembler.
const Register TMP2 = kNoRegister; // There is no second assembler temporary.
-const Register CTX = R9; // Location of current context at method entry.
-const Register PP = R10; // Caches object pool pointer in generated code.
+const Register CTX = R10; // Location of current context at method entry.
+const Register PP = R9; // Caches object pool pointer in generated code.
const Register SPREG = SP; // Stack pointer register.
const Register FPREG = FP; // Frame pointer register.
const Register LRREG = LR; // Link register.
const Register ICREG = R5; // IC data register.
const Register ARGS_DESC_REG = R4;
+const Register CODE_REG = R10;
const Register THR = R8; // Caches current thread in generated code.
// R15 encodes APSR in the vmrs instruction.
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/constants_arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698