OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 V(INTERNALIZED_STRING_TYPE) \ | 379 V(INTERNALIZED_STRING_TYPE) \ |
380 V(ONE_BYTE_INTERNALIZED_STRING_TYPE) \ | 380 V(ONE_BYTE_INTERNALIZED_STRING_TYPE) \ |
381 V(EXTERNAL_INTERNALIZED_STRING_TYPE) \ | 381 V(EXTERNAL_INTERNALIZED_STRING_TYPE) \ |
382 V(EXTERNAL_ONE_BYTE_INTERNALIZED_STRING_TYPE) \ | 382 V(EXTERNAL_ONE_BYTE_INTERNALIZED_STRING_TYPE) \ |
383 V(EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE) \ | 383 V(EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE) \ |
384 V(SHORT_EXTERNAL_INTERNALIZED_STRING_TYPE) \ | 384 V(SHORT_EXTERNAL_INTERNALIZED_STRING_TYPE) \ |
385 V(SHORT_EXTERNAL_ONE_BYTE_INTERNALIZED_STRING_TYPE) \ | 385 V(SHORT_EXTERNAL_ONE_BYTE_INTERNALIZED_STRING_TYPE) \ |
386 V(SHORT_EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE) \ | 386 V(SHORT_EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE) \ |
387 \ | 387 \ |
388 V(SYMBOL_TYPE) \ | 388 V(SYMBOL_TYPE) \ |
| 389 V(FLOAT32X4_TYPE) \ |
389 \ | 390 \ |
390 V(MAP_TYPE) \ | 391 V(MAP_TYPE) \ |
391 V(CODE_TYPE) \ | 392 V(CODE_TYPE) \ |
392 V(ODDBALL_TYPE) \ | 393 V(ODDBALL_TYPE) \ |
393 V(CELL_TYPE) \ | 394 V(CELL_TYPE) \ |
394 V(PROPERTY_CELL_TYPE) \ | 395 V(PROPERTY_CELL_TYPE) \ |
395 \ | 396 \ |
396 V(HEAP_NUMBER_TYPE) \ | 397 V(HEAP_NUMBER_TYPE) \ |
397 V(MUTABLE_HEAP_NUMBER_TYPE) \ | 398 V(MUTABLE_HEAP_NUMBER_TYPE) \ |
398 V(FLOAT32X4_TYPE) \ | |
399 V(FOREIGN_TYPE) \ | 399 V(FOREIGN_TYPE) \ |
400 V(BYTE_ARRAY_TYPE) \ | 400 V(BYTE_ARRAY_TYPE) \ |
401 V(FREE_SPACE_TYPE) \ | 401 V(FREE_SPACE_TYPE) \ |
402 /* Note: the order of these external array */ \ | 402 /* Note: the order of these external array */ \ |
403 /* types is relied upon in */ \ | 403 /* types is relied upon in */ \ |
404 /* Object::IsExternalArray(). */ \ | 404 /* Object::IsExternalArray(). */ \ |
405 V(EXTERNAL_INT8_ARRAY_TYPE) \ | 405 V(EXTERNAL_INT8_ARRAY_TYPE) \ |
406 V(EXTERNAL_UINT8_ARRAY_TYPE) \ | 406 V(EXTERNAL_UINT8_ARRAY_TYPE) \ |
407 V(EXTERNAL_INT16_ARRAY_TYPE) \ | 407 V(EXTERNAL_INT16_ARRAY_TYPE) \ |
408 V(EXTERNAL_UINT16_ARRAY_TYPE) \ | 408 V(EXTERNAL_UINT16_ARRAY_TYPE) \ |
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
917 | 917 |
918 | 918 |
919 #define OBJECT_TYPE_LIST(V) \ | 919 #define OBJECT_TYPE_LIST(V) \ |
920 V(Smi) \ | 920 V(Smi) \ |
921 V(HeapObject) \ | 921 V(HeapObject) \ |
922 V(Number) | 922 V(Number) |
923 | 923 |
924 #define HEAP_OBJECT_TYPE_LIST(V) \ | 924 #define HEAP_OBJECT_TYPE_LIST(V) \ |
925 V(HeapNumber) \ | 925 V(HeapNumber) \ |
926 V(MutableHeapNumber) \ | 926 V(MutableHeapNumber) \ |
| 927 V(Float32x4) \ |
927 V(Name) \ | 928 V(Name) \ |
928 V(UniqueName) \ | 929 V(UniqueName) \ |
929 V(String) \ | 930 V(String) \ |
930 V(SeqString) \ | 931 V(SeqString) \ |
931 V(ExternalString) \ | 932 V(ExternalString) \ |
932 V(ConsString) \ | 933 V(ConsString) \ |
933 V(SlicedString) \ | 934 V(SlicedString) \ |
934 V(ExternalTwoByteString) \ | 935 V(ExternalTwoByteString) \ |
935 V(ExternalOneByteString) \ | 936 V(ExternalOneByteString) \ |
936 V(SeqTwoByteString) \ | 937 V(SeqTwoByteString) \ |
(...skipping 14 matching lines...) Expand all Loading... |
951 V(FixedTypedArrayBase) \ | 952 V(FixedTypedArrayBase) \ |
952 V(FixedUint8Array) \ | 953 V(FixedUint8Array) \ |
953 V(FixedInt8Array) \ | 954 V(FixedInt8Array) \ |
954 V(FixedUint16Array) \ | 955 V(FixedUint16Array) \ |
955 V(FixedInt16Array) \ | 956 V(FixedInt16Array) \ |
956 V(FixedUint32Array) \ | 957 V(FixedUint32Array) \ |
957 V(FixedInt32Array) \ | 958 V(FixedInt32Array) \ |
958 V(FixedFloat32Array) \ | 959 V(FixedFloat32Array) \ |
959 V(FixedFloat64Array) \ | 960 V(FixedFloat64Array) \ |
960 V(FixedUint8ClampedArray) \ | 961 V(FixedUint8ClampedArray) \ |
961 V(Float32x4) \ | |
962 V(ByteArray) \ | 962 V(ByteArray) \ |
963 V(FreeSpace) \ | 963 V(FreeSpace) \ |
964 V(JSReceiver) \ | 964 V(JSReceiver) \ |
965 V(JSObject) \ | 965 V(JSObject) \ |
966 V(JSContextExtensionObject) \ | 966 V(JSContextExtensionObject) \ |
967 V(JSGeneratorObject) \ | 967 V(JSGeneratorObject) \ |
968 V(JSModule) \ | 968 V(JSModule) \ |
969 V(LayoutDescriptor) \ | 969 V(LayoutDescriptor) \ |
970 V(Map) \ | 970 V(Map) \ |
971 V(DescriptorArray) \ | 971 V(DescriptorArray) \ |
(...skipping 9859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10831 } else { | 10831 } else { |
10832 value &= ~(1 << bit_position); | 10832 value &= ~(1 << bit_position); |
10833 } | 10833 } |
10834 return value; | 10834 return value; |
10835 } | 10835 } |
10836 }; | 10836 }; |
10837 | 10837 |
10838 } } // namespace v8::internal | 10838 } } // namespace v8::internal |
10839 | 10839 |
10840 #endif // V8_OBJECTS_H_ | 10840 #endif // V8_OBJECTS_H_ |
OLD | NEW |