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

Unified Diff: runtime/vm/constants_arm64.h

Issue 1575583002: ARM64: Move THR to R26 so special registers are contiguous. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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 | runtime/vm/runtime_entry_arm64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/constants_arm64.h
diff --git a/runtime/vm/constants_arm64.h b/runtime/vm/constants_arm64.h
index 26b80ba2c3c037f731597863b519eaf8b2c03997..913a69c89c41435860f4f3e4da49261cfeabf2ec 100644
--- a/runtime/vm/constants_arm64.h
+++ b/runtime/vm/constants_arm64.h
@@ -30,13 +30,13 @@ enum Register {
R17 = 17, // IP1 aka TMP2
R18 = 18, // "platform register" on iOS.
R19 = 19,
- R20 = 20, // THR
+ R20 = 20,
R21 = 21,
R22 = 22,
R23 = 23,
R24 = 24,
R25 = 25,
- R26 = 26,
+ R26 = 26, // THR
R27 = 27, // PP
R28 = 28, // CTX
R29 = 29, // FP
@@ -116,7 +116,7 @@ const Register SPREG = R15; // Stack pointer register.
const Register LRREG = LR; // Link register.
const Register ICREG = R5; // IC data register.
const Register ARGS_DESC_REG = R4; // Arguments descriptor register.
-const Register THR = R20; // Caches current thread in generated code.
+const Register THR = R26; // Caches current thread in generated code.
// Exception object is passed in this register to the catch handlers when an
« no previous file with comments | « no previous file | runtime/vm/runtime_entry_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698