| 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 VM_CONSTANTS_X64_H_ |
| 6 #define VM_CONSTANTS_X64_H_ | 6 #define VM_CONSTANTS_X64_H_ |
| 7 | 7 |
| 8 namespace dart { | 8 namespace dart { |
| 9 | 9 |
| 10 enum Register { | 10 enum Register { |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 // Dart stack frame layout. | 101 // Dart stack frame layout. |
| 102 static const int kLastParamSlotIndex = 2; | 102 static const int kLastParamSlotIndex = 2; |
| 103 static const int kFirstLocalSlotIndex = -2; | 103 static const int kFirstLocalSlotIndex = -2; |
| 104 | 104 |
| 105 | 105 |
| 106 enum ScaleFactor { | 106 enum ScaleFactor { |
| 107 TIMES_1 = 0, | 107 TIMES_1 = 0, |
| 108 TIMES_2 = 1, | 108 TIMES_2 = 1, |
| 109 TIMES_4 = 2, | 109 TIMES_4 = 2, |
| 110 TIMES_8 = 3, | 110 TIMES_8 = 3, |
| 111 TIMES_16 = 4, |
| 111 TIMES_HALF_WORD_SIZE = kWordSizeLog2 - 1 | 112 TIMES_HALF_WORD_SIZE = kWordSizeLog2 - 1 |
| 112 }; | 113 }; |
| 113 | 114 |
| 114 | 115 |
| 115 enum Condition { | 116 enum Condition { |
| 116 OVERFLOW = 0, | 117 OVERFLOW = 0, |
| 117 NO_OVERFLOW = 1, | 118 NO_OVERFLOW = 1, |
| 118 BELOW = 2, | 119 BELOW = 2, |
| 119 ABOVE_EQUAL = 3, | 120 ABOVE_EQUAL = 3, |
| 120 EQUAL = 4, | 121 EQUAL = 4, |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 }; | 165 }; |
| 165 | 166 |
| 166 | 167 |
| 167 // The largest multibyte nop we will emit. This could go up to 15 if it | 168 // The largest multibyte nop we will emit. This could go up to 15 if it |
| 168 // becomes important to us. | 169 // becomes important to us. |
| 169 const int MAX_NOP_SIZE = 8; | 170 const int MAX_NOP_SIZE = 8; |
| 170 | 171 |
| 171 } // namespace dart | 172 } // namespace dart |
| 172 | 173 |
| 173 #endif // VM_CONSTANTS_X64_H_ | 174 #endif // VM_CONSTANTS_X64_H_ |
| OLD | NEW |