OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 "include/dart_api.h" | 5 #include "include/dart_api.h" |
6 #include "include/dart_mirrors_api.h" | 6 #include "include/dart_mirrors_api.h" |
7 #include "include/dart_native_api.h" | 7 #include "include/dart_native_api.h" |
8 | 8 |
9 #include "platform/assert.h" | 9 #include "platform/assert.h" |
10 #include "lib/stacktrace.h" | 10 #include "lib/stacktrace.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 #include "vm/unicode.h" | 45 #include "vm/unicode.h" |
46 #include "vm/verifier.h" | 46 #include "vm/verifier.h" |
47 #include "vm/version.h" | 47 #include "vm/version.h" |
48 | 48 |
49 namespace dart { | 49 namespace dart { |
50 | 50 |
51 // Facilitate quick access to the current zone once we have the curren thread. | 51 // Facilitate quick access to the current zone once we have the curren thread. |
52 #define Z (T->zone()) | 52 #define Z (T->zone()) |
53 | 53 |
54 | 54 |
55 DECLARE_FLAG(bool, enable_mirrors); | |
56 DECLARE_FLAG(bool, load_deferred_eagerly); | 55 DECLARE_FLAG(bool, load_deferred_eagerly); |
57 DECLARE_FLAG(bool, precompilation); | 56 DECLARE_FLAG(bool, precompilation); |
58 DECLARE_FLAG(bool, print_class_table); | 57 DECLARE_FLAG(bool, print_class_table); |
59 DECLARE_FLAG(bool, verify_handles); | 58 DECLARE_FLAG(bool, verify_handles); |
60 #if defined(DART_NO_SNAPSHOT) | 59 #if defined(DART_NO_SNAPSHOT) |
61 DEFINE_FLAG(bool, check_function_fingerprints, true, | 60 DEFINE_FLAG(bool, check_function_fingerprints, true, |
62 "Check function fingerprints"); | 61 "Check function fingerprints"); |
63 #endif // defined(DART_NO_SNAPSHOT). | 62 #endif // defined(DART_NO_SNAPSHOT). |
64 DEFINE_FLAG(bool, verify_acquired_data, false, | 63 DEFINE_FLAG(bool, verify_acquired_data, false, |
65 "Verify correct API acquire/release of typed data."); | 64 "Verify correct API acquire/release of typed data."); |
(...skipping 6104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6170 return Api::Success(); | 6169 return Api::Success(); |
6171 } | 6170 } |
6172 #endif // DART_PRECOMPILER | 6171 #endif // DART_PRECOMPILER |
6173 | 6172 |
6174 | 6173 |
6175 DART_EXPORT bool Dart_IsRunningPrecompiledCode() { | 6174 DART_EXPORT bool Dart_IsRunningPrecompiledCode() { |
6176 return Dart::IsRunningPrecompiledCode(); | 6175 return Dart::IsRunningPrecompiledCode(); |
6177 } | 6176 } |
6178 | 6177 |
6179 } // namespace dart | 6178 } // namespace dart |
OLD | NEW |