Index: runtime/vm/constants_ia32.h |
diff --git a/runtime/vm/constants_ia32.h b/runtime/vm/constants_ia32.h |
index 25f927f329a6c88ca615fab50fa7a051e6eb148b..b34b6ec0494bf034f3b8aa3898e781fd0ecf5422 100644 |
--- a/runtime/vm/constants_ia32.h |
+++ b/runtime/vm/constants_ia32.h |
@@ -22,7 +22,6 @@ enum Register { |
kNoRegister = -1, // Signals an illegal register. |
}; |
- |
enum ByteRegister { |
AL = 0, |
CL = 1, |
@@ -35,7 +34,6 @@ enum ByteRegister { |
kNoByteRegister = -1 // Signals an illegal register. |
}; |
- |
enum XmmRegister { |
XMM0 = 0, |
XMM1 = 1, |
@@ -49,14 +47,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; |
- |
// Register aliases. |
const Register TMP = kNoRegister; // No scratch register used by assembler. |
const Register TMP2 = kNoRegister; // No second assembler scratch register. |
@@ -79,7 +75,6 @@ const Register kExceptionObjectReg = EAX; |
// an exception is thrown. |
const Register kStackTraceObjectReg = EDX; |
- |
typedef uint32_t RegList; |
const RegList kAllCpuRegistersList = 0xFF; |
@@ -88,7 +83,6 @@ const intptr_t kReservedCpuRegisters = (1 << SPREG) | (1 << FPREG) | (1 << THR); |
const RegList kDartAvailableCpuRegs = |
kAllCpuRegistersList & ~kReservedCpuRegisters; |
- |
enum ScaleFactor { |
TIMES_1 = 0, |
TIMES_2 = 1, |
@@ -98,7 +92,6 @@ enum ScaleFactor { |
TIMES_HALF_WORD_SIZE = kWordSizeLog2 - 1 |
}; |
- |
enum Condition { |
OVERFLOW = 0, |
NO_OVERFLOW = 1, |
@@ -127,7 +120,6 @@ enum Condition { |
INVALID_CONDITION = 16 |
}; |
- |
class Instr { |
public: |
static const uint8_t kHltInstruction = 0xF4; |
@@ -152,7 +144,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; |