| 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/factory.h" | 9 #include "src/factory.h" |
| 10 #include "src/handles.h" | 10 #include "src/handles.h" |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 V(SignedSmall, kUnsignedSmall | kOtherSignedSmall) \ | 206 V(SignedSmall, kUnsignedSmall | kOtherSignedSmall) \ |
| 207 V(Signed32, kSignedSmall | kOtherUnsigned31 | kOtherSigned32) \ | 207 V(Signed32, kSignedSmall | kOtherUnsigned31 | kOtherSigned32) \ |
| 208 V(Unsigned32, kUnsignedSmall | kOtherUnsigned31 | kOtherUnsigned32) \ | 208 V(Unsigned32, kUnsignedSmall | kOtherUnsigned31 | kOtherUnsigned32) \ |
| 209 V(Integral32, kSigned32 | kUnsigned32) \ | 209 V(Integral32, kSigned32 | kUnsigned32) \ |
| 210 V(OrderedNumber, kIntegral32 | kMinusZero | kOtherNumber) \ | 210 V(OrderedNumber, kIntegral32 | kMinusZero | kOtherNumber) \ |
| 211 V(Number, kOrderedNumber | kNaN) \ | 211 V(Number, kOrderedNumber | kNaN) \ |
| 212 V(String, kInternalizedString | kOtherString) \ | 212 V(String, kInternalizedString | kOtherString) \ |
| 213 V(UniqueName, kSymbol | kInternalizedString) \ | 213 V(UniqueName, kSymbol | kInternalizedString) \ |
| 214 V(Name, kSymbol | kString) \ | 214 V(Name, kSymbol | kString) \ |
| 215 V(NumberOrString, kNumber | kString) \ | 215 V(NumberOrString, kNumber | kString) \ |
| 216 V(Primitive, kNumber | kName | kBoolean | kNull | kUndefined) \ | 216 V(PlainPrimitive, kNumberOrString | kBoolean | kNull | kUndefined) \ |
| 217 V(Primitive, kSymbol | kPlainPrimitive) \ |
| 217 V(DetectableObject, kArray | kFunction | kRegExp | kOtherObject) \ | 218 V(DetectableObject, kArray | kFunction | kRegExp | kOtherObject) \ |
| 218 V(DetectableReceiver, kDetectableObject | kProxy) \ | 219 V(DetectableReceiver, kDetectableObject | kProxy) \ |
| 219 V(Detectable, kDetectableReceiver | kNumber | kName) \ | 220 V(Detectable, kDetectableReceiver | kNumber | kName) \ |
| 220 V(Object, kDetectableObject | kUndetectable) \ | 221 V(Object, kDetectableObject | kUndetectable) \ |
| 221 V(Receiver, kObject | kProxy) \ | 222 V(Receiver, kObject | kProxy) \ |
| 222 V(Unique, kBoolean | kUniqueName | kNull | kUndefined | \ | 223 V(Unique, kBoolean | kUniqueName | kNull | kUndefined | \ |
| 223 kReceiver) \ | 224 kReceiver) \ |
| 224 V(NonNumber, kUnique | kString | kInternal) \ | 225 V(NonNumber, kUnique | kString | kInternal) \ |
| 225 V(Any, 0xfffffffeu) | 226 V(Any, 0xfffffffeu) |
| 226 | 227 |
| (...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1063 bool Narrows(BoundsImpl that) { | 1064 bool Narrows(BoundsImpl that) { |
| 1064 return that.lower->Is(this->lower) && this->upper->Is(that.upper); | 1065 return that.lower->Is(this->lower) && this->upper->Is(that.upper); |
| 1065 } | 1066 } |
| 1066 }; | 1067 }; |
| 1067 | 1068 |
| 1068 typedef BoundsImpl<ZoneTypeConfig> Bounds; | 1069 typedef BoundsImpl<ZoneTypeConfig> Bounds; |
| 1069 | 1070 |
| 1070 } } // namespace v8::internal | 1071 } } // namespace v8::internal |
| 1071 | 1072 |
| 1072 #endif // V8_TYPES_H_ | 1073 #endif // V8_TYPES_H_ |
| OLD | NEW |