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 | |
9 #include "bin/builtin.h" | 5 #include "bin/builtin.h" |
10 #include "include/dart_api.h" | 6 #include "include/dart_api.h" |
11 #include "include/dart_debugger_api.h" | 7 #include "include/dart_debugger_api.h" |
12 #include "include/dart_mirrors_api.h" | 8 #include "include/dart_mirrors_api.h" |
13 #include "include/dart_native_api.h" | 9 #include "include/dart_native_api.h" |
14 #include "platform/assert.h" | 10 #include "platform/assert.h" |
15 #include "platform/json.h" | 11 #include "platform/json.h" |
16 #include "platform/utils.h" | 12 #include "platform/utils.h" |
17 #include "vm/class_finalizer.h" | 13 #include "vm/class_finalizer.h" |
18 #include "vm/dart_api_impl.h" | 14 #include "vm/dart_api_impl.h" |
(...skipping 8142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8161 NewString("main"), | 8157 NewString("main"), |
8162 1, | 8158 1, |
8163 dart_args); | 8159 dart_args); |
8164 int64_t value = 0; | 8160 int64_t value = 0; |
8165 result = Dart_IntegerToInt64(result, &value); | 8161 result = Dart_IntegerToInt64(result, &value); |
8166 EXPECT_VALID(result); | 8162 EXPECT_VALID(result); |
8167 EXPECT_EQ(6, value); | 8163 EXPECT_EQ(6, value); |
8168 } | 8164 } |
8169 | 8165 |
8170 } // namespace dart | 8166 } // namespace dart |
8171 | |
8172 #endif // !defined(TARGET_ARCH_ARM64) | |
OLD | NEW |