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_X64_H_ | 5 #ifndef RUNTIME_VM_CONSTANTS_X64_H_ |
6 #define VM_CONSTANTS_X64_H_ | 6 #define RUNTIME_VM_CONSTANTS_X64_H_ |
7 | 7 |
8 namespace dart { | 8 namespace dart { |
9 | 9 |
10 enum Register { | 10 enum Register { |
11 RAX = 0, | 11 RAX = 0, |
12 RCX = 1, | 12 RCX = 1, |
13 RDX = 2, | 13 RDX = 2, |
14 RBX = 3, | 14 RBX = 3, |
15 RSP = 4, | 15 RSP = 4, |
16 RBP = 5, | 16 RBP = 5, |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); | 235 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); |
236 }; | 236 }; |
237 | 237 |
238 | 238 |
239 // The largest multibyte nop we will emit. This could go up to 15 if it | 239 // The largest multibyte nop we will emit. This could go up to 15 if it |
240 // becomes important to us. | 240 // becomes important to us. |
241 const int MAX_NOP_SIZE = 8; | 241 const int MAX_NOP_SIZE = 8; |
242 | 242 |
243 } // namespace dart | 243 } // namespace dart |
244 | 244 |
245 #endif // VM_CONSTANTS_X64_H_ | 245 #endif // RUNTIME_VM_CONSTANTS_X64_H_ |
OLD | NEW |