| 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_TYPES_H_ | 5 #ifndef V8_TYPES_H_ |
| 6 #define V8_TYPES_H_ | 6 #define V8_TYPES_H_ |
| 7 | 7 |
| 8 #include "src/conversions.h" | 8 #include "src/conversions.h" |
| 9 #include "src/handles.h" | 9 #include "src/handles.h" |
| 10 #include "src/objects.h" | 10 #include "src/objects.h" |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 V(OrderedNumber, kPlainNumber | kMinusZero) \ | 212 V(OrderedNumber, kPlainNumber | kMinusZero) \ |
| 213 V(MinusZeroOrNaN, kMinusZero | kNaN) \ | 213 V(MinusZeroOrNaN, kMinusZero | kNaN) \ |
| 214 V(Number, kOrderedNumber | kNaN) \ | 214 V(Number, kOrderedNumber | kNaN) \ |
| 215 V(String, kInternalizedString | kOtherString) \ | 215 V(String, kInternalizedString | kOtherString) \ |
| 216 V(UniqueName, kSymbol | kInternalizedString) \ | 216 V(UniqueName, kSymbol | kInternalizedString) \ |
| 217 V(Name, kSymbol | kString) \ | 217 V(Name, kSymbol | kString) \ |
| 218 V(BooleanOrNumber, kBoolean | kNumber) \ | 218 V(BooleanOrNumber, kBoolean | kNumber) \ |
| 219 V(BooleanOrNullOrUndefined, kBoolean | kNull | kUndefined) \ | 219 V(BooleanOrNullOrUndefined, kBoolean | kNull | kUndefined) \ |
| 220 V(NullOrUndefined, kNull | kUndefined) \ | 220 V(NullOrUndefined, kNull | kUndefined) \ |
| 221 V(Undetectable, kNullOrUndefined | kOtherUndetectable) \ | 221 V(Undetectable, kNullOrUndefined | kOtherUndetectable) \ |
| 222 V(NumberOrOddball, kNumber | kNullOrUndefined | kBoolean) \ |
| 222 V(NumberOrSimdOrString, kNumber | kSimd | kString) \ | 223 V(NumberOrSimdOrString, kNumber | kSimd | kString) \ |
| 223 V(NumberOrString, kNumber | kString) \ | 224 V(NumberOrString, kNumber | kString) \ |
| 224 V(NumberOrUndefined, kNumber | kUndefined) \ | 225 V(NumberOrUndefined, kNumber | kUndefined) \ |
| 225 V(PlainPrimitive, kNumberOrString | kBoolean | kNullOrUndefined) \ | 226 V(PlainPrimitive, kNumberOrString | kBoolean | kNullOrUndefined) \ |
| 226 V(Primitive, kSymbol | kSimd | kPlainPrimitive) \ | 227 V(Primitive, kSymbol | kSimd | kPlainPrimitive) \ |
| 227 V(DetectableReceiver, kFunction | kOtherObject | kProxy) \ | 228 V(DetectableReceiver, kFunction | kOtherObject | kProxy) \ |
| 228 V(Object, kFunction | kOtherObject | kOtherUndetectable) \ | 229 V(Object, kFunction | kOtherObject | kOtherUndetectable) \ |
| 229 V(Receiver, kObject | kProxy) \ | 230 V(Receiver, kObject | kProxy) \ |
| 230 V(StringOrReceiver, kString | kReceiver) \ | 231 V(StringOrReceiver, kString | kReceiver) \ |
| 231 V(Unique, kBoolean | kUniqueName | kNull | kUndefined | \ | 232 V(Unique, kBoolean | kUniqueName | kNull | kUndefined | \ |
| (...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 963 | 964 |
| 964 bool Narrows(Bounds that) { | 965 bool Narrows(Bounds that) { |
| 965 return that.lower->Is(this->lower) && this->upper->Is(that.upper); | 966 return that.lower->Is(this->lower) && this->upper->Is(that.upper); |
| 966 } | 967 } |
| 967 }; | 968 }; |
| 968 | 969 |
| 969 } // namespace internal | 970 } // namespace internal |
| 970 } // namespace v8 | 971 } // namespace v8 |
| 971 | 972 |
| 972 #endif // V8_TYPES_H_ | 973 #endif // V8_TYPES_H_ |
| OLD | NEW |