OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef VM_CONSTANTS_IA32_H_ | 5 #ifndef RUNTIME_VM_CONSTANTS_IA32_H_ |
6 #define VM_CONSTANTS_IA32_H_ | 6 #define RUNTIME_VM_CONSTANTS_IA32_H_ |
7 | 7 |
8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
9 | 9 |
10 namespace dart { | 10 namespace dart { |
11 | 11 |
12 enum Register { | 12 enum Register { |
13 EAX = 0, | 13 EAX = 0, |
14 ECX = 1, | 14 ECX = 1, |
15 EDX = 2, | 15 EDX = 2, |
16 EBX = 3, | 16 EBX = 3, |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); | 153 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); |
154 }; | 154 }; |
155 | 155 |
156 | 156 |
157 // The largest multibyte nop we will emit. This could go up to 15 if it | 157 // The largest multibyte nop we will emit. This could go up to 15 if it |
158 // becomes important to us. | 158 // becomes important to us. |
159 const int MAX_NOP_SIZE = 8; | 159 const int MAX_NOP_SIZE = 8; |
160 | 160 |
161 } // namespace dart | 161 } // namespace dart |
162 | 162 |
163 #endif // VM_CONSTANTS_IA32_H_ | 163 #endif // RUNTIME_VM_CONSTANTS_IA32_H_ |
OLD | NEW |