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 922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
933 UNREACHABLE(); | 933 UNREACHABLE(); |
934 } | 934 } |
935 } | 935 } |
936 if (dim == BOTH_DIMS) os << "/"; | 936 if (dim == BOTH_DIMS) os << "/"; |
937 if (dim != SEMANTIC_DIM) { | 937 if (dim != SEMANTIC_DIM) { |
938 BitsetType::Print(os, REPRESENTATION(this->BitsetLub())); | 938 BitsetType::Print(os, REPRESENTATION(this->BitsetLub())); |
939 } | 939 } |
940 } | 940 } |
941 | 941 |
942 | 942 |
| 943 #ifdef DEBUG |
| 944 template <class Config> |
| 945 void TypeImpl<Config>::Print() { |
| 946 OFStream os(stdout); |
| 947 PrintTo(os); |
| 948 os << endl; |
| 949 } |
| 950 #endif |
| 951 |
| 952 |
943 // ----------------------------------------------------------------------------- | 953 // ----------------------------------------------------------------------------- |
944 // Instantiations. | 954 // Instantiations. |
945 | 955 |
946 template class TypeImpl<ZoneTypeConfig>; | 956 template class TypeImpl<ZoneTypeConfig>; |
947 template class TypeImpl<ZoneTypeConfig>::Iterator<i::Map>; | 957 template class TypeImpl<ZoneTypeConfig>::Iterator<i::Map>; |
948 template class TypeImpl<ZoneTypeConfig>::Iterator<i::Object>; | 958 template class TypeImpl<ZoneTypeConfig>::Iterator<i::Object>; |
949 | 959 |
950 template class TypeImpl<HeapTypeConfig>; | 960 template class TypeImpl<HeapTypeConfig>; |
951 template class TypeImpl<HeapTypeConfig>::Iterator<i::Map>; | 961 template class TypeImpl<HeapTypeConfig>::Iterator<i::Map>; |
952 template class TypeImpl<HeapTypeConfig>::Iterator<i::Object>; | 962 template class TypeImpl<HeapTypeConfig>::Iterator<i::Object>; |
953 | 963 |
954 template TypeImpl<ZoneTypeConfig>::TypeHandle | 964 template TypeImpl<ZoneTypeConfig>::TypeHandle |
955 TypeImpl<ZoneTypeConfig>::Convert<HeapType>( | 965 TypeImpl<ZoneTypeConfig>::Convert<HeapType>( |
956 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*); | 966 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*); |
957 template TypeImpl<HeapTypeConfig>::TypeHandle | 967 template TypeImpl<HeapTypeConfig>::TypeHandle |
958 TypeImpl<HeapTypeConfig>::Convert<Type>( | 968 TypeImpl<HeapTypeConfig>::Convert<Type>( |
959 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*); | 969 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*); |
960 | 970 |
961 } } // namespace v8::internal | 971 } } // namespace v8::internal |
OLD | NEW |