| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 VM_CONSTANTS_IA32_H_ |
| 6 #define VM_CONSTANTS_IA32_H_ | 6 #define VM_CONSTANTS_IA32_H_ |
| 7 | 7 |
| 8 #include "vm/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, |
| 17 ESP = 4, | 17 ESP = 4, |
| 18 EBP = 5, | 18 EBP = 5, |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 }; | 120 }; |
| 121 | 121 |
| 122 | 122 |
| 123 // The largest multibyte nop we will emit. This could go up to 15 if it | 123 // The largest multibyte nop we will emit. This could go up to 15 if it |
| 124 // becomes important to us. | 124 // becomes important to us. |
| 125 const int MAX_NOP_SIZE = 8; | 125 const int MAX_NOP_SIZE = 8; |
| 126 | 126 |
| 127 } // namespace dart | 127 } // namespace dart |
| 128 | 128 |
| 129 #endif // VM_CONSTANTS_IA32_H_ | 129 #endif // VM_CONSTANTS_IA32_H_ |
| OLD | NEW |