| 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/factory.h" |
| 9 #include "src/heap/heap.h" |
| 10 #include "src/isolate.h" |
| 11 // FIXME(mstarzinger, marja): This is weird, but required because of the missing |
| 12 // (disallowed) include: src/factory.h -> src/objects-inl.h |
| 13 #include "src/objects-inl.h" |
| 8 #include "src/types.h" | 14 #include "src/types.h" |
| 15 // FIXME(mstarzinger, marja): This is weird, but required because of the missing |
| 16 // (disallowed) include: src/type-feedback-vector.h -> |
| 17 // src/type-feedback-vector-inl.h |
| 18 #include "src/type-feedback-vector-inl.h" |
| 9 #include "test/cctest/cctest.h" | 19 #include "test/cctest/cctest.h" |
| 10 #include "test/cctest/types-fuzz.h" | 20 #include "test/cctest/types-fuzz.h" |
| 11 | 21 |
| 12 using namespace v8::internal; | 22 using namespace v8::internal; |
| 13 | 23 |
| 14 | 24 |
| 15 // Testing auxiliaries (breaking the Type abstraction). | 25 // Testing auxiliaries (breaking the Type abstraction). |
| 16 | 26 |
| 17 | 27 |
| 18 static bool IsInteger(double x) { | 28 static bool IsInteger(double x) { |
| (...skipping 1897 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1916 | 1926 |
| 1917 TEST(Union4_zone) { Tests().Union4(); } | 1927 TEST(Union4_zone) { Tests().Union4(); } |
| 1918 | 1928 |
| 1919 TEST(Intersect_zone) { Tests().Intersect(); } | 1929 TEST(Intersect_zone) { Tests().Intersect(); } |
| 1920 | 1930 |
| 1921 TEST(Distributivity_zone) { Tests().Distributivity(); } | 1931 TEST(Distributivity_zone) { Tests().Distributivity(); } |
| 1922 | 1932 |
| 1923 TEST(GetRange_zone) { Tests().GetRange(); } | 1933 TEST(GetRange_zone) { Tests().GetRange(); } |
| 1924 | 1934 |
| 1925 TEST(HTypeFromType_zone) { Tests().HTypeFromType(); } | 1935 TEST(HTypeFromType_zone) { Tests().HTypeFromType(); } |
| OLD | NEW |