| 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 V(Signed32, kSigned31 | kOtherUnsigned31 | kOtherSigned32) \ | 132 V(Signed32, kSigned31 | kOtherUnsigned31 | 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(PlainNumber, kIntegral32 | kOtherNumber) \ | 143 V(PlainNumber, kIntegral32 | kOtherNumber) \ |
| 143 V(OrderedNumber, kPlainNumber | kMinusZero) \ | 144 V(OrderedNumber, kPlainNumber | kMinusZero) \ |
| 144 V(MinusZeroOrNaN, kMinusZero | kNaN) \ | 145 V(MinusZeroOrNaN, kMinusZero | kNaN) \ |
| 145 V(Number, kOrderedNumber | kNaN) \ | 146 V(Number, kOrderedNumber | kNaN) \ |
| 146 V(String, kInternalizedString | kOtherString) \ | 147 V(String, kInternalizedString | kOtherString) \ |
| 147 V(UniqueName, kSymbol | kInternalizedString) \ | 148 V(UniqueName, kSymbol | kInternalizedString) \ |
| 148 V(Name, kSymbol | kString) \ | 149 V(Name, kSymbol | kString) \ |
| 149 V(BooleanOrNumber, kBoolean | kNumber) \ | 150 V(BooleanOrNumber, kBoolean | kNumber) \ |
| 150 V(BooleanOrNullOrNumber, kBooleanOrNumber | kNull) \ | 151 V(BooleanOrNullOrNumber, kBooleanOrNumber | kNull) \ |
| 151 V(BooleanOrNullOrUndefined, kBoolean | kNull | kUndefined) \ | 152 V(BooleanOrNullOrUndefined, kBoolean | kNull | kUndefined) \ |
| (...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 653 RangeType::Limits* limits, Zone* zone); | 654 RangeType::Limits* limits, Zone* zone); |
| 654 static Type* NormalizeUnion(Type* unioned, int size, Zone* zone); | 655 static Type* NormalizeUnion(Type* unioned, int size, Zone* zone); |
| 655 static Type* NormalizeRangeAndBitset(Type* range, bitset* bits, Zone* zone); | 656 static Type* NormalizeRangeAndBitset(Type* range, bitset* bits, Zone* zone); |
| 656 }; | 657 }; |
| 657 | 658 |
| 658 } // namespace compiler | 659 } // namespace compiler |
| 659 } // namespace internal | 660 } // namespace internal |
| 660 } // namespace v8 | 661 } // namespace v8 |
| 661 | 662 |
| 662 #endif // V8_COMPILER_TYPES_H_ | 663 #endif // V8_COMPILER_TYPES_H_ |
| OLD | NEW |