OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 <vector> | 5 #include <vector> |
6 | 6 |
7 #include "src/crankshaft/hydrogen-types.h" | 7 #include "src/crankshaft/hydrogen-types.h" |
8 #include "src/types.h" | 8 #include "src/types.h" |
9 #include "test/cctest/cctest.h" | 9 #include "test/cctest/cctest.h" |
10 #include "test/cctest/types-fuzz.h" | 10 #include "test/cctest/types-fuzz.h" |
(...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
934 CheckSub(T.InternalizedString, T.Name); | 934 CheckSub(T.InternalizedString, T.Name); |
935 CheckSub(T.Symbol, T.UniqueName); | 935 CheckSub(T.Symbol, T.UniqueName); |
936 CheckSub(T.Symbol, T.Name); | 936 CheckSub(T.Symbol, T.Name); |
937 CheckUnordered(T.String, T.UniqueName); | 937 CheckUnordered(T.String, T.UniqueName); |
938 CheckUnordered(T.String, T.Symbol); | 938 CheckUnordered(T.String, T.Symbol); |
939 CheckUnordered(T.InternalizedString, T.Symbol); | 939 CheckUnordered(T.InternalizedString, T.Symbol); |
940 | 940 |
941 CheckSub(T.Object, T.Receiver); | 941 CheckSub(T.Object, T.Receiver); |
942 CheckSub(T.Proxy, T.Receiver); | 942 CheckSub(T.Proxy, T.Receiver); |
943 CheckSub(T.OtherObject, T.Object); | 943 CheckSub(T.OtherObject, T.Object); |
944 CheckSub(T.Undetectable, T.Object); | 944 CheckSub(T.OtherUndetectable, T.Object); |
945 CheckSub(T.OtherObject, T.Object); | 945 CheckSub(T.OtherObject, T.Object); |
946 | 946 |
947 CheckUnordered(T.Object, T.Proxy); | 947 CheckUnordered(T.Object, T.Proxy); |
948 CheckUnordered(T.OtherObject, T.Undetectable); | 948 CheckUnordered(T.OtherObject, T.Undetectable); |
949 | 949 |
950 // Subtyping between concrete structural types | 950 // Subtyping between concrete structural types |
951 | 951 |
952 CheckSub(T.ObjectClass, T.Object); | 952 CheckSub(T.ObjectClass, T.Object); |
953 CheckSub(T.ArrayClass, T.OtherObject); | 953 CheckSub(T.ArrayClass, T.OtherObject); |
954 CheckSub(T.UninitializedClass, T.Internal); | 954 CheckSub(T.UninitializedClass, T.Internal); |
(...skipping 961 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1916 | 1916 |
1917 TEST(Union4_zone) { Tests().Union4(); } | 1917 TEST(Union4_zone) { Tests().Union4(); } |
1918 | 1918 |
1919 TEST(Intersect_zone) { Tests().Intersect(); } | 1919 TEST(Intersect_zone) { Tests().Intersect(); } |
1920 | 1920 |
1921 TEST(Distributivity_zone) { Tests().Distributivity(); } | 1921 TEST(Distributivity_zone) { Tests().Distributivity(); } |
1922 | 1922 |
1923 TEST(GetRange_zone) { Tests().GetRange(); } | 1923 TEST(GetRange_zone) { Tests().GetRange(); } |
1924 | 1924 |
1925 TEST(HTypeFromType_zone) { Tests().HTypeFromType(); } | 1925 TEST(HTypeFromType_zone) { Tests().HTypeFromType(); } |
OLD | NEW |