| 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 VM_CONSTANTS_IA32_H_ |
| 6 #define VM_CONSTANTS_IA32_H_ | 6 #define VM_CONSTANTS_IA32_H_ |
| 7 | 7 |
| 8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
| 9 | 9 |
| 10 namespace dart { | 10 namespace dart { |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 // Dart stack frame layout. | 77 // Dart stack frame layout. |
| 78 static const int kLastParamSlotIndex = 2; | 78 static const int kLastParamSlotIndex = 2; |
| 79 static const int kFirstLocalSlotIndex = -2; | 79 static const int kFirstLocalSlotIndex = -2; |
| 80 | 80 |
| 81 | 81 |
| 82 enum ScaleFactor { | 82 enum ScaleFactor { |
| 83 TIMES_1 = 0, | 83 TIMES_1 = 0, |
| 84 TIMES_2 = 1, | 84 TIMES_2 = 1, |
| 85 TIMES_4 = 2, | 85 TIMES_4 = 2, |
| 86 TIMES_8 = 3, | 86 TIMES_8 = 3, |
| 87 TIMES_16 = 4, |
| 87 TIMES_HALF_WORD_SIZE = kWordSizeLog2 - 1 | 88 TIMES_HALF_WORD_SIZE = kWordSizeLog2 - 1 |
| 88 }; | 89 }; |
| 89 | 90 |
| 90 | 91 |
| 91 enum Condition { | 92 enum Condition { |
| 92 OVERFLOW = 0, | 93 OVERFLOW = 0, |
| 93 NO_OVERFLOW = 1, | 94 NO_OVERFLOW = 1, |
| 94 BELOW = 2, | 95 BELOW = 2, |
| 95 ABOVE_EQUAL = 3, | 96 ABOVE_EQUAL = 3, |
| 96 EQUAL = 4, | 97 EQUAL = 4, |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 }; | 141 }; |
| 141 | 142 |
| 142 | 143 |
| 143 // The largest multibyte nop we will emit. This could go up to 15 if it | 144 // The largest multibyte nop we will emit. This could go up to 15 if it |
| 144 // becomes important to us. | 145 // becomes important to us. |
| 145 const int MAX_NOP_SIZE = 8; | 146 const int MAX_NOP_SIZE = 8; |
| 146 | 147 |
| 147 } // namespace dart | 148 } // namespace dart |
| 148 | 149 |
| 149 #endif // VM_CONSTANTS_IA32_H_ | 150 #endif // VM_CONSTANTS_IA32_H_ |
| OLD | NEW |