Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Side by Side Diff: runtime/vm/cha_test.cc

Issue 221133002: Begins work on ARM64, first assembler test. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: adds files Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/benchmark_test.cc ('k') | runtime/vm/code_descriptors_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // TODO(zra): Remove when tests are ready to enable.
6 #include "platform/globals.h"
7 #if !defined(TARGET_ARCH_ARM64)
8
5 #include "platform/assert.h" 9 #include "platform/assert.h"
6 #include "vm/cha.h" 10 #include "vm/cha.h"
7 #include "vm/class_finalizer.h" 11 #include "vm/class_finalizer.h"
8 #include "vm/globals.h" 12 #include "vm/globals.h"
9 #include "vm/symbols.h" 13 #include "vm/symbols.h"
10 #include "vm/unit_test.h" 14 #include "vm/unit_test.h"
11 15
12 namespace dart { 16 namespace dart {
13 17
14 TEST_CASE(ClassHierarchyAnalysis) { 18 TEST_CASE(ClassHierarchyAnalysis) {
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 EXPECT(!CHA::HasSubclasses(kNullCid)); 124 EXPECT(!CHA::HasSubclasses(kNullCid));
121 EXPECT(!CHA::HasSubclasses(kDynamicCid)); 125 EXPECT(!CHA::HasSubclasses(kDynamicCid));
122 EXPECT(!CHA::HasSubclasses(kVoidCid)); 126 EXPECT(!CHA::HasSubclasses(kVoidCid));
123 EXPECT(CHA::HasSubclasses(class_a_id)); 127 EXPECT(CHA::HasSubclasses(class_a_id));
124 EXPECT(CHA::HasSubclasses(class_b_id)); 128 EXPECT(CHA::HasSubclasses(class_b_id));
125 EXPECT(!CHA::HasSubclasses(class_c_id)); 129 EXPECT(!CHA::HasSubclasses(class_c_id));
126 EXPECT(!CHA::HasSubclasses(class_d_id)); 130 EXPECT(!CHA::HasSubclasses(class_d_id));
127 } 131 }
128 132
129 } // namespace dart 133 } // namespace dart
134
135 #endif // !defined(TARGET_ARCH_ARM64)
OLDNEW
« no previous file with comments | « runtime/vm/benchmark_test.cc ('k') | runtime/vm/code_descriptors_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698