OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
| 5 #include "platform/globals.h" |
| 6 #if !defined(TARGET_ARCH_ARM64) |
| 7 |
5 #include "platform/assert.h" | 8 #include "platform/assert.h" |
6 #include "vm/cha.h" | 9 #include "vm/cha.h" |
7 #include "vm/class_finalizer.h" | 10 #include "vm/class_finalizer.h" |
8 #include "vm/globals.h" | 11 #include "vm/globals.h" |
9 #include "vm/symbols.h" | 12 #include "vm/symbols.h" |
10 #include "vm/unit_test.h" | 13 #include "vm/unit_test.h" |
11 | 14 |
12 namespace dart { | 15 namespace dart { |
13 | 16 |
14 TEST_CASE(ClassHierarchyAnalysis) { | 17 TEST_CASE(ClassHierarchyAnalysis) { |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 EXPECT(!CHA::HasSubclasses(kNullCid)); | 123 EXPECT(!CHA::HasSubclasses(kNullCid)); |
121 EXPECT(!CHA::HasSubclasses(kDynamicCid)); | 124 EXPECT(!CHA::HasSubclasses(kDynamicCid)); |
122 EXPECT(!CHA::HasSubclasses(kVoidCid)); | 125 EXPECT(!CHA::HasSubclasses(kVoidCid)); |
123 EXPECT(CHA::HasSubclasses(class_a_id)); | 126 EXPECT(CHA::HasSubclasses(class_a_id)); |
124 EXPECT(CHA::HasSubclasses(class_b_id)); | 127 EXPECT(CHA::HasSubclasses(class_b_id)); |
125 EXPECT(!CHA::HasSubclasses(class_c_id)); | 128 EXPECT(!CHA::HasSubclasses(class_c_id)); |
126 EXPECT(!CHA::HasSubclasses(class_d_id)); | 129 EXPECT(!CHA::HasSubclasses(class_d_id)); |
127 } | 130 } |
128 | 131 |
129 } // namespace dart | 132 } // namespace dart |
| 133 |
| 134 #endif // !defined(TARGET_ARCH_ARM64) |
OLD | NEW |