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

Unified Diff: runtime/vm/constants_arm64.h

Issue 243773002: Adds Runtime call stub and Dart entry stub to ARM64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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/assembler_x64.h ('k') | runtime/vm/disassembler_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
===================================================================
--- runtime/vm/constants_arm64.h (revision 35189)
+++ runtime/vm/constants_arm64.h (working copy)
@@ -111,8 +111,8 @@
const Register TMP2 = R17;
const Register CTX = R28; // Caches current context in generated code.
const Register PP = R27; // Caches object pool pointer in generated code.
+const Register FPREG = FP; // Frame pointer register.
const Register SPREG = R31; // Stack pointer register.
-const Register FPREG = FP; // Frame pointer register.
const Register ICREG = R5; // IC data register.
// Exception object is passed in this register to the catch handlers when an
@@ -141,8 +141,8 @@
const RegList kAbiPreservedCpuRegs =
(1 << R19) | (1 << R20) | (1 << R21) | (1 << R22) |
(1 << R23) | (1 << R24) | (1 << R25) | (1 << R26) |
- (1 << R27) | (1 << R28) | (1 << R29);
-const int kAbiPreservedCpuRegCount = 11;
+ (1 << R27) | (1 << R28);
+const int kAbiPreservedCpuRegCount = 10;
const VRegister kAbiFirstPreservedFpuReg = V8;
const VRegister kAbiLastPreservedFpuReg = V15;
const int kAbiPreservedFpuRegCount = 8;
@@ -454,7 +454,6 @@
enum R31Type {
R31IsSP,
R31IsZR,
- R31IsUndef,
};
// Constants used for the decoding or encoding of the individual fields of
@@ -585,6 +584,8 @@
static const int32_t kBreakPointInstruction = // hlt #kImmExceptionIsDebug.
HLT | (kImmExceptionIsDebug << kImm16Shift);
static const int kBreakPointInstructionSize = kInstrSize;
+ static const int32_t kRedirectInstruction =
+ HLT | (kImmExceptionIsRedirectedCall << kImm16Shift);
// Read one particular bit out of the instruction bits.
inline int Bit(int nr) const {
« no previous file with comments | « runtime/vm/assembler_x64.h ('k') | runtime/vm/disassembler_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698