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

Unified Diff: runtime/vm/constants_x64.h

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 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 | « runtime/vm/constants_ia32.h ('k') | runtime/vm/cpu.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/constants_x64.h
diff --git a/runtime/vm/constants_x64.h b/runtime/vm/constants_x64.h
index 09fd07cc4a835262876a1afc8d81a2fb5c8fdb2e..6acd4ba2af52bc5c5d3aacee62172d2ff8bc044c 100644
--- a/runtime/vm/constants_x64.h
+++ b/runtime/vm/constants_x64.h
@@ -28,7 +28,6 @@ enum Register {
kNoRegister = -1, // Signals an illegal register.
};
-
enum ByteRegister {
AL = 0,
CL = 1,
@@ -41,7 +40,6 @@ enum ByteRegister {
kNoByteRegister = -1 // Signals an illegal register.
};
-
enum XmmRegister {
XMM0 = 0,
XMM1 = 1,
@@ -63,14 +61,12 @@ enum XmmRegister {
kNoXmmRegister = -1 // Signals an illegal register.
};
-
// Architecture independent aliases.
typedef XmmRegister FpuRegister;
const FpuRegister FpuTMP = XMM0;
const int kNumberOfFpuRegisters = kNumberOfXmmRegisters;
const FpuRegister kNoFpuRegister = kNoXmmRegister;
-
enum RexBits {
REX_NONE = 0,
REX_B = 1 << 0,
@@ -80,7 +76,6 @@ enum RexBits {
REX_PREFIX = 1 << 6
};
-
// Register aliases.
const Register TMP = R11; // Used as scratch register by the assembler.
const Register TMP2 = kNoRegister; // No second assembler scratch register.
@@ -103,7 +98,6 @@ const Register kExceptionObjectReg = RAX;
// an exception is thrown.
const Register kStackTraceObjectReg = RDX;
-
typedef uint32_t RegList;
const RegList kAllCpuRegistersList = 0xFFFF;
@@ -113,7 +107,6 @@ const RegList kReservedCpuRegisters =
const RegList kDartAvailableCpuRegs =
kAllCpuRegistersList & ~kReservedCpuRegisters;
-
enum ScaleFactor {
TIMES_1 = 0,
TIMES_2 = 1,
@@ -123,7 +116,6 @@ enum ScaleFactor {
TIMES_HALF_WORD_SIZE = kWordSizeLog2 - 1
};
-
enum Condition {
OVERFLOW = 0,
NO_OVERFLOW = 1,
@@ -233,7 +225,6 @@ class Instr {
DISALLOW_IMPLICIT_CONSTRUCTORS(Instr);
};
-
// The largest multibyte nop we will emit. This could go up to 15 if it
// becomes important to us.
const int MAX_NOP_SIZE = 8;
« no previous file with comments | « runtime/vm/constants_ia32.h ('k') | runtime/vm/cpu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698