| 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 V(DetectableObject, kFunction | kBoundFunction | \ | 172 V(DetectableObject, kFunction | kBoundFunction | \ |
| 173 kOtherCallable | kOtherObject) \ | 173 kOtherCallable | kOtherObject) \ |
| 174 V(DetectableReceiver, kDetectableObject | kProxy) \ | 174 V(DetectableReceiver, kDetectableObject | kProxy) \ |
| 175 V(DetectableReceiverOrNull, kDetectableReceiver | kNull) \ | 175 V(DetectableReceiverOrNull, kDetectableReceiver | kNull) \ |
| 176 V(Object, kDetectableObject | kOtherUndetectable) \ | 176 V(Object, kDetectableObject | kOtherUndetectable) \ |
| 177 V(Receiver, kObject | kProxy) \ | 177 V(Receiver, kObject | kProxy) \ |
| 178 V(ReceiverOrUndefined, kReceiver | kUndefined) \ | 178 V(ReceiverOrUndefined, kReceiver | kUndefined) \ |
| 179 V(ReceiverOrNullOrUndefined, kReceiver | kNull | kUndefined) \ | 179 V(ReceiverOrNullOrUndefined, kReceiver | kNull | kUndefined) \ |
| 180 V(SymbolOrReceiver, kSymbol | kReceiver) \ | 180 V(SymbolOrReceiver, kSymbol | kReceiver) \ |
| 181 V(StringOrReceiver, kString | kReceiver) \ | 181 V(StringOrReceiver, kString | kReceiver) \ |
| 182 V(StringOrUndefined, kString | kUndefined) \ |
| 182 V(Unique, kBoolean | kUniqueName | kNull | \ | 183 V(Unique, kBoolean | kUniqueName | kNull | \ |
| 183 kUndefined | kReceiver) \ | 184 kUndefined | kReceiver) \ |
| 184 V(Internal, kHole | kExternalPointer | kOtherInternal) \ | 185 V(Internal, kHole | kExternalPointer | kOtherInternal) \ |
| 185 V(NonInternal, kPrimitive | kReceiver) \ | 186 V(NonInternal, kPrimitive | kReceiver) \ |
| 186 V(NonNumber, kUnique | kString | kInternal) \ | 187 V(NonNumber, kUnique | kString | kInternal) \ |
| 187 V(Any, 0xfffffffeu) | 188 V(Any, 0xfffffffeu) |
| 188 | 189 |
| 189 // clang-format on | 190 // clang-format on |
| 190 | 191 |
| 191 /* | 192 /* |
| (...skipping 470 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 |