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 "include/dart_api.h" | 8 #include "include/dart_api.h" |
6 #include "platform/assert.h" | 9 #include "platform/assert.h" |
7 #include "vm/class_finalizer.h" | 10 #include "vm/class_finalizer.h" |
8 #include "vm/compiler.h" | 11 #include "vm/compiler.h" |
9 #include "vm/dart_api_impl.h" | 12 #include "vm/dart_api_impl.h" |
10 #include "vm/dart_entry.h" | 13 #include "vm/dart_entry.h" |
11 #include "vm/resolver.h" | 14 #include "vm/resolver.h" |
12 #include "vm/stack_frame.h" | 15 #include "vm/stack_frame.h" |
13 #include "vm/unit_test.h" | 16 #include "vm/unit_test.h" |
14 #include "vm/verifier.h" | 17 #include "vm/verifier.h" |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 " }" | 284 " }" |
282 "}"; | 285 "}"; |
283 Dart_Handle lib = TestCase::LoadTestScript( | 286 Dart_Handle lib = TestCase::LoadTestScript( |
284 kScriptChars, | 287 kScriptChars, |
285 reinterpret_cast<Dart_NativeEntryResolver>(native_lookup)); | 288 reinterpret_cast<Dart_NativeEntryResolver>(native_lookup)); |
286 Dart_Handle cls = Dart_GetClass(lib, NewString("StackFrame2Test")); | 289 Dart_Handle cls = Dart_GetClass(lib, NewString("StackFrame2Test")); |
287 EXPECT_VALID(Dart_Invoke(cls, NewString("testMain"), 0, NULL)); | 290 EXPECT_VALID(Dart_Invoke(cls, NewString("testMain"), 0, NULL)); |
288 } | 291 } |
289 | 292 |
290 } // namespace dart | 293 } // namespace dart |
| 294 |
| 295 #endif // !defined(TARGET_ARCH_ARM64) |
OLD | NEW |