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/dart_api_impl.h" | 9 #include "vm/dart_api_impl.h" |
7 #include "vm/globals.h" | 10 #include "vm/globals.h" |
8 #include "vm/heap.h" | 11 #include "vm/heap.h" |
9 #include "vm/unit_test.h" | 12 #include "vm/unit_test.h" |
10 | 13 |
11 namespace dart { | 14 namespace dart { |
12 | 15 |
13 TEST_CASE(OldGC) { | 16 TEST_CASE(OldGC) { |
14 const char* kScriptChars = | 17 const char* kScriptChars = |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 } | 202 } |
200 } | 203 } |
201 { | 204 { |
202 NoGCScope no_gc; | 205 NoGCScope no_gc; |
203 FindNothing find_nothing; | 206 FindNothing find_nothing; |
204 EXPECT(Object::null() == heap->FindObject(&find_nothing)); | 207 EXPECT(Object::null() == heap->FindObject(&find_nothing)); |
205 } | 208 } |
206 } | 209 } |
207 | 210 |
208 } // namespace dart. | 211 } // namespace dart. |
| 212 |
| 213 #endif // !defined(TARGET_ARCH_ARM64) |
OLD | NEW |