| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 V(NumberOrHole, kNumber | kHole) \ | 160 V(NumberOrHole, kNumber | kHole) \ |
| 161 V(NumberOrOddball, kNumber | kNullOrUndefined | kBoolean | \ | 161 V(NumberOrOddball, kNumber | kNullOrUndefined | kBoolean | \ |
| 162 kHole) \ | 162 kHole) \ |
| 163 V(NumberOrString, kNumber | kString) \ | 163 V(NumberOrString, kNumber | kString) \ |
| 164 V(NumberOrUndefined, kNumber | kUndefined) \ | 164 V(NumberOrUndefined, kNumber | kUndefined) \ |
| 165 V(PlainPrimitive, kNumberOrString | kBoolean | \ | 165 V(PlainPrimitive, kNumberOrString | kBoolean | \ |
| 166 kNullOrUndefined) \ | 166 kNullOrUndefined) \ |
| 167 V(Primitive, kSymbol | kPlainPrimitive) \ | 167 V(Primitive, kSymbol | kPlainPrimitive) \ |
| 168 V(OtherUndetectableOrUndefined, kOtherUndetectable | kUndefined) \ | 168 V(OtherUndetectableOrUndefined, kOtherUndetectable | kUndefined) \ |
| 169 V(Proxy, kCallableProxy | kOtherProxy) \ | 169 V(Proxy, kCallableProxy | kOtherProxy) \ |
| 170 V(ArrayOrOtherObject, kArray | kOtherObject) \ |
| 170 V(ArrayOrProxy, kArray | kProxy) \ | 171 V(ArrayOrProxy, kArray | kProxy) \ |
| 171 V(DetectableCallable, kFunction | kBoundFunction | \ | 172 V(DetectableCallable, kFunction | kBoundFunction | \ |
| 172 kOtherCallable | kCallableProxy) \ | 173 kOtherCallable | kCallableProxy) \ |
| 173 V(Callable, kDetectableCallable | kOtherUndetectable) \ | 174 V(Callable, kDetectableCallable | kOtherUndetectable) \ |
| 174 V(NonCallable, kArray | kOtherObject | kOtherProxy) \ | 175 V(NonCallable, kArray | kOtherObject | kOtherProxy) \ |
| 175 V(NonCallableOrNull, kNonCallable | kNull) \ | 176 V(NonCallableOrNull, kNonCallable | kNull) \ |
| 176 V(DetectableObject, kArray | kFunction | kBoundFunction | \ | 177 V(DetectableObject, kArray | kFunction | kBoundFunction | \ |
| 177 kOtherCallable | kOtherObject) \ | 178 kOtherCallable | kOtherObject) \ |
| 178 V(DetectableReceiver, kDetectableObject | kProxy) \ | 179 V(DetectableReceiver, kDetectableObject | kProxy) \ |
| 179 V(DetectableReceiverOrNull, kDetectableReceiver | kNull) \ | 180 V(DetectableReceiverOrNull, kDetectableReceiver | kNull) \ |
| (...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 666 RangeType::Limits* limits, Zone* zone); | 667 RangeType::Limits* limits, Zone* zone); |
| 667 static Type* NormalizeUnion(Type* unioned, int size, Zone* zone); | 668 static Type* NormalizeUnion(Type* unioned, int size, Zone* zone); |
| 668 static Type* NormalizeRangeAndBitset(Type* range, bitset* bits, Zone* zone); | 669 static Type* NormalizeRangeAndBitset(Type* range, bitset* bits, Zone* zone); |
| 669 }; | 670 }; |
| 670 | 671 |
| 671 } // namespace compiler | 672 } // namespace compiler |
| 672 } // namespace internal | 673 } // namespace internal |
| 673 } // namespace v8 | 674 } // namespace v8 |
| 674 | 675 |
| 675 #endif // V8_COMPILER_TYPES_H_ | 676 #endif // V8_COMPILER_TYPES_H_ |
| OLD | NEW |