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 "bin/builtin.h" |
5 #include "include/dart_api.h" | 6 #include "include/dart_api.h" |
6 #include "bin/builtin.h" | 7 #include "include/dart_mirrors_api.h" |
| 8 #include "include/dart_native_api.h" |
7 #include "platform/assert.h" | 9 #include "platform/assert.h" |
8 #include "platform/json.h" | 10 #include "platform/json.h" |
9 #include "platform/utils.h" | 11 #include "platform/utils.h" |
10 #include "vm/class_finalizer.h" | 12 #include "vm/class_finalizer.h" |
11 #include "vm/dart_api_impl.h" | 13 #include "vm/dart_api_impl.h" |
12 #include "vm/dart_api_state.h" | 14 #include "vm/dart_api_state.h" |
13 #include "vm/thread.h" | 15 #include "vm/thread.h" |
14 #include "vm/unit_test.h" | 16 #include "vm/unit_test.h" |
15 #include "vm/verifier.h" | 17 #include "vm/verifier.h" |
16 | 18 |
(...skipping 7878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7895 NewString("main"), | 7897 NewString("main"), |
7896 0, | 7898 0, |
7897 NULL); | 7899 NULL); |
7898 int64_t value = 0; | 7900 int64_t value = 0; |
7899 result = Dart_IntegerToInt64(result, &value); | 7901 result = Dart_IntegerToInt64(result, &value); |
7900 EXPECT_VALID(result); | 7902 EXPECT_VALID(result); |
7901 EXPECT_EQ(8, value); | 7903 EXPECT_EQ(8, value); |
7902 } | 7904 } |
7903 | 7905 |
7904 } // namespace dart | 7906 } // namespace dart |
OLD | NEW |