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/factory.h" | 8 #include "src/factory.h" |
9 #include "src/handles.h" | 9 #include "src/handles.h" |
10 #include "src/ostreams.h" | 10 #include "src/ostreams.h" |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
180 V(Symbol, 1 << 11 | REPRESENTATION(kTaggedPtr)) \ | 180 V(Symbol, 1 << 11 | REPRESENTATION(kTaggedPtr)) \ |
181 V(InternalizedString, 1 << 12 | REPRESENTATION(kTaggedPtr)) \ | 181 V(InternalizedString, 1 << 12 | REPRESENTATION(kTaggedPtr)) \ |
182 V(OtherString, 1 << 13 | REPRESENTATION(kTaggedPtr)) \ | 182 V(OtherString, 1 << 13 | REPRESENTATION(kTaggedPtr)) \ |
183 V(Undetectable, 1 << 14 | REPRESENTATION(kTaggedPtr)) \ | 183 V(Undetectable, 1 << 14 | REPRESENTATION(kTaggedPtr)) \ |
184 V(Array, 1 << 15 | REPRESENTATION(kTaggedPtr)) \ | 184 V(Array, 1 << 15 | REPRESENTATION(kTaggedPtr)) \ |
185 V(Buffer, 1 << 16 | REPRESENTATION(kTaggedPtr)) \ | 185 V(Buffer, 1 << 16 | REPRESENTATION(kTaggedPtr)) \ |
186 V(Function, 1 << 17 | REPRESENTATION(kTaggedPtr)) \ | 186 V(Function, 1 << 17 | REPRESENTATION(kTaggedPtr)) \ |
187 V(RegExp, 1 << 18 | REPRESENTATION(kTaggedPtr)) \ | 187 V(RegExp, 1 << 18 | REPRESENTATION(kTaggedPtr)) \ |
188 V(OtherObject, 1 << 19 | REPRESENTATION(kTaggedPtr)) \ | 188 V(OtherObject, 1 << 19 | REPRESENTATION(kTaggedPtr)) \ |
189 V(Proxy, 1 << 20 | REPRESENTATION(kTaggedPtr)) \ | 189 V(Proxy, 1 << 20 | REPRESENTATION(kTaggedPtr)) \ |
190 V(Internal, 1 << 21 | REPRESENTATION(kTagged | kUntagged)) \ | 190 V(Internal, 1 << 21 | REPRESENTATION(kTagged | kUntagged)) \ |
Michael Starzinger
2014/09/11 12:05:14
Please appreciate me not clang-formatting this mac
rossberg
2014/09/11 12:17:50
Acknowledged.
| |
191 \ | 191 \ |
192 V(SignedSmall, kUnsignedSmall | kOtherSignedSmall) \ | 192 V(SignedSmall, kUnsignedSmall | kOtherSignedSmall) \ |
193 V(Signed32, kSignedSmall | kOtherUnsigned31 | kOtherSigned32) \ | 193 V(Signed32, kSignedSmall | kOtherUnsigned31 | kOtherSigned32) \ |
194 V(Unsigned32, kUnsignedSmall | kOtherUnsigned31 | kOtherUnsigned32) \ | 194 V(Unsigned32, kUnsignedSmall | kOtherUnsigned31 | kOtherUnsigned32) \ |
195 V(Integral32, kSigned32 | kUnsigned32) \ | 195 V(Integral32, kSigned32 | kUnsigned32) \ |
196 V(Number, kIntegral32 | kMinusZero | kNaN | kOtherNumber) \ | 196 V(OrderedNumber, kIntegral32 | kMinusZero | kOtherNumber) \ |
197 V(Number, kOrderedNumber | kNaN) \ | |
197 V(String, kInternalizedString | kOtherString) \ | 198 V(String, kInternalizedString | kOtherString) \ |
198 V(UniqueName, kSymbol | kInternalizedString) \ | 199 V(UniqueName, kSymbol | kInternalizedString) \ |
199 V(Name, kSymbol | kString) \ | 200 V(Name, kSymbol | kString) \ |
200 V(NumberOrString, kNumber | kString) \ | 201 V(NumberOrString, kNumber | kString) \ |
201 V(Primitive, kNumber | kName | kBoolean | kNull | kUndefined) \ | 202 V(Primitive, kNumber | kName | kBoolean | kNull | kUndefined) \ |
202 V(DetectableObject, kArray | kFunction | kRegExp | kOtherObject) \ | 203 V(DetectableObject, kArray | kFunction | kRegExp | kOtherObject) \ |
203 V(DetectableReceiver, kDetectableObject | kProxy) \ | 204 V(DetectableReceiver, kDetectableObject | kProxy) \ |
204 V(Detectable, kDetectableReceiver | kNumber | kName) \ | 205 V(Detectable, kDetectableReceiver | kNumber | kName) \ |
205 V(Object, kDetectableObject | kUndetectable) \ | 206 V(Object, kDetectableObject | kUndetectable) \ |
206 V(Receiver, kObject | kProxy) \ | 207 V(Receiver, kObject | kProxy) \ |
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
995 bool Narrows(BoundsImpl that) { | 996 bool Narrows(BoundsImpl that) { |
996 return that.lower->Is(this->lower) && this->upper->Is(that.upper); | 997 return that.lower->Is(this->lower) && this->upper->Is(that.upper); |
997 } | 998 } |
998 }; | 999 }; |
999 | 1000 |
1000 typedef BoundsImpl<ZoneTypeConfig> Bounds; | 1001 typedef BoundsImpl<ZoneTypeConfig> Bounds; |
1001 | 1002 |
1002 } } // namespace v8::internal | 1003 } } // namespace v8::internal |
1003 | 1004 |
1004 #endif // V8_TYPES_H_ | 1005 #endif // V8_TYPES_H_ |
OLD | NEW |