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 // 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/globals.h" | 10 #include "vm/globals.h" |
7 | 11 |
8 #include "vm/ast.h" | 12 #include "vm/ast.h" |
9 #include "vm/assembler.h" | 13 #include "vm/assembler.h" |
10 #include "vm/code_descriptors.h" | 14 #include "vm/code_descriptors.h" |
11 #include "vm/compiler.h" | 15 #include "vm/compiler.h" |
12 #include "vm/dart_entry.h" | 16 #include "vm/dart_entry.h" |
13 #include "vm/native_entry.h" | 17 #include "vm/native_entry.h" |
14 #include "vm/parser.h" | 18 #include "vm/parser.h" |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 | 277 |
274 // Now invoke 'A.moo' and it will trigger a GC when the native function | 278 // Now invoke 'A.moo' and it will trigger a GC when the native function |
275 // is called, this should then cause the stack map of function 'A.foo' | 279 // is called, this should then cause the stack map of function 'A.foo' |
276 // to be traversed and the appropriate objects visited. | 280 // to be traversed and the appropriate objects visited. |
277 const Object& result = Object::Handle( | 281 const Object& result = Object::Handle( |
278 DartEntry::InvokeFunction(function_foo, Object::empty_array())); | 282 DartEntry::InvokeFunction(function_foo, Object::empty_array())); |
279 EXPECT(!result.IsError()); | 283 EXPECT(!result.IsError()); |
280 } | 284 } |
281 | 285 |
282 } // namespace dart | 286 } // namespace dart |
| 287 |
| 288 #endif // !defined(TARGET_ARCH_ARM64) |
OLD | NEW |