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 #include "src/types.h" | 5 #include "src/types.h" |
6 | 6 |
7 #include "src/ostreams.h" | 7 #include "src/ostreams.h" |
8 #include "src/types-inl.h" | 8 #include "src/types-inl.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
875 REPRESENTATION_BITSET_TYPE_LIST(BITSET_CONSTANT) | 875 REPRESENTATION_BITSET_TYPE_LIST(BITSET_CONSTANT) |
876 #undef BITSET_CONSTANT | 876 #undef BITSET_CONSTANT |
877 | 877 |
878 #define BITSET_CONSTANT(type, value) SEMANTIC(k##type), | 878 #define BITSET_CONSTANT(type, value) SEMANTIC(k##type), |
879 SEMANTIC_BITSET_TYPE_LIST(BITSET_CONSTANT) | 879 SEMANTIC_BITSET_TYPE_LIST(BITSET_CONSTANT) |
880 #undef BITSET_CONSTANT | 880 #undef BITSET_CONSTANT |
881 }; | 881 }; |
882 | 882 |
883 bool is_first = true; | 883 bool is_first = true; |
884 os << "("; | 884 os << "("; |
885 for (int i(ARRAY_SIZE(named_bitsets) - 1); bitset != 0 && i >= 0; --i) { | 885 for (int i(arraysize(named_bitsets) - 1); bitset != 0 && i >= 0; --i) { |
886 int subset = named_bitsets[i]; | 886 int subset = named_bitsets[i]; |
887 if ((bitset & subset) == subset) { | 887 if ((bitset & subset) == subset) { |
888 if (!is_first) os << " | "; | 888 if (!is_first) os << " | "; |
889 is_first = false; | 889 is_first = false; |
890 os << Name(subset); | 890 os << Name(subset); |
891 bitset -= subset; | 891 bitset -= subset; |
892 } | 892 } |
893 } | 893 } |
894 DCHECK(bitset == 0); | 894 DCHECK(bitset == 0); |
895 os << ")"; | 895 os << ")"; |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
978 template class TypeImpl<HeapTypeConfig>::Iterator<i::Object>; | 978 template class TypeImpl<HeapTypeConfig>::Iterator<i::Object>; |
979 | 979 |
980 template TypeImpl<ZoneTypeConfig>::TypeHandle | 980 template TypeImpl<ZoneTypeConfig>::TypeHandle |
981 TypeImpl<ZoneTypeConfig>::Convert<HeapType>( | 981 TypeImpl<ZoneTypeConfig>::Convert<HeapType>( |
982 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*); | 982 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*); |
983 template TypeImpl<HeapTypeConfig>::TypeHandle | 983 template TypeImpl<HeapTypeConfig>::TypeHandle |
984 TypeImpl<HeapTypeConfig>::Convert<Type>( | 984 TypeImpl<HeapTypeConfig>::Convert<Type>( |
985 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*); | 985 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*); |
986 | 986 |
987 } } // namespace v8::internal | 987 } } // namespace v8::internal |
OLD | NEW |