OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_COMPILER_TYPES_H_ | 5 #ifndef V8_COMPILER_TYPES_H_ |
6 #define V8_COMPILER_TYPES_H_ | 6 #define V8_COMPILER_TYPES_H_ |
7 | 7 |
8 #include "src/base/compiler-specific.h" | 8 #include "src/base/compiler-specific.h" |
9 #include "src/conversions.h" | 9 #include "src/conversions.h" |
10 #include "src/globals.h" | 10 #include "src/globals.h" |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 kOtherSigned32) \ | 132 kOtherSigned32) \ |
133 V(Signed32OrMinusZero, kSigned32 | kMinusZero) \ | 133 V(Signed32OrMinusZero, kSigned32 | kMinusZero) \ |
134 V(Signed32OrMinusZeroOrNaN, kSigned32 | kMinusZero | kNaN) \ | 134 V(Signed32OrMinusZeroOrNaN, kSigned32 | kMinusZero | kNaN) \ |
135 V(Negative32, kNegative31 | kOtherSigned32) \ | 135 V(Negative32, kNegative31 | kOtherSigned32) \ |
136 V(Unsigned31, kUnsigned30 | kOtherUnsigned31) \ | 136 V(Unsigned31, kUnsigned30 | kOtherUnsigned31) \ |
137 V(Unsigned32, kUnsigned30 | kOtherUnsigned31 | \ | 137 V(Unsigned32, kUnsigned30 | kOtherUnsigned31 | \ |
138 kOtherUnsigned32) \ | 138 kOtherUnsigned32) \ |
139 V(Unsigned32OrMinusZero, kUnsigned32 | kMinusZero) \ | 139 V(Unsigned32OrMinusZero, kUnsigned32 | kMinusZero) \ |
140 V(Unsigned32OrMinusZeroOrNaN, kUnsigned32 | kMinusZero | kNaN) \ | 140 V(Unsigned32OrMinusZeroOrNaN, kUnsigned32 | kMinusZero | kNaN) \ |
141 V(Integral32, kSigned32 | kUnsigned32) \ | 141 V(Integral32, kSigned32 | kUnsigned32) \ |
142 V(Integral32OrMinusZeroOrNaN, kIntegral32 | kMinusZero | kNaN) \ | 142 V(Integral32OrMinusZero, kIntegral32 | kMinusZero) \ |
| 143 V(Integral32OrMinusZeroOrNaN, kIntegral32OrMinusZero | kNaN) \ |
143 V(PlainNumber, kIntegral32 | kOtherNumber) \ | 144 V(PlainNumber, kIntegral32 | kOtherNumber) \ |
144 V(OrderedNumber, kPlainNumber | kMinusZero) \ | 145 V(OrderedNumber, kPlainNumber | kMinusZero) \ |
145 V(MinusZeroOrNaN, kMinusZero | kNaN) \ | 146 V(MinusZeroOrNaN, kMinusZero | kNaN) \ |
146 V(Number, kOrderedNumber | kNaN) \ | 147 V(Number, kOrderedNumber | kNaN) \ |
147 V(String, kInternalizedString | kOtherString) \ | 148 V(String, kInternalizedString | kOtherString) \ |
148 V(UniqueName, kSymbol | kInternalizedString) \ | 149 V(UniqueName, kSymbol | kInternalizedString) \ |
149 V(Name, kSymbol | kString) \ | 150 V(Name, kSymbol | kString) \ |
150 V(InternalizedStringOrNull, kInternalizedString | kNull) \ | 151 V(InternalizedStringOrNull, kInternalizedString | kNull) \ |
151 V(BooleanOrNumber, kBoolean | kNumber) \ | 152 V(BooleanOrNumber, kBoolean | kNumber) \ |
152 V(BooleanOrNullOrNumber, kBooleanOrNumber | kNull) \ | 153 V(BooleanOrNullOrNumber, kBooleanOrNumber | kNull) \ |
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
662 RangeType::Limits* limits, Zone* zone); | 663 RangeType::Limits* limits, Zone* zone); |
663 static Type* NormalizeUnion(Type* unioned, int size, Zone* zone); | 664 static Type* NormalizeUnion(Type* unioned, int size, Zone* zone); |
664 static Type* NormalizeRangeAndBitset(Type* range, bitset* bits, Zone* zone); | 665 static Type* NormalizeRangeAndBitset(Type* range, bitset* bits, Zone* zone); |
665 }; | 666 }; |
666 | 667 |
667 } // namespace compiler | 668 } // namespace compiler |
668 } // namespace internal | 669 } // namespace internal |
669 } // namespace v8 | 670 } // namespace v8 |
670 | 671 |
671 #endif // V8_COMPILER_TYPES_H_ | 672 #endif // V8_COMPILER_TYPES_H_ |
OLD | NEW |