| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #include "vm/thread_registry.h" | 43 #include "vm/thread_registry.h" |
| 44 #include "vm/timeline.h" | 44 #include "vm/timeline.h" |
| 45 #include "vm/timer.h" | 45 #include "vm/timer.h" |
| 46 #include "vm/unicode.h" | 46 #include "vm/unicode.h" |
| 47 #include "vm/uri.h" | 47 #include "vm/uri.h" |
| 48 #include "vm/verifier.h" | 48 #include "vm/verifier.h" |
| 49 #include "vm/version.h" | 49 #include "vm/version.h" |
| 50 | 50 |
| 51 namespace dart { | 51 namespace dart { |
| 52 | 52 |
| 53 // Facilitate quick access to the current zone once we have the curren thread. | 53 // Facilitate quick access to the current zone once we have the current thread. |
| 54 #define Z (T->zone()) | 54 #define Z (T->zone()) |
| 55 | 55 |
| 56 | 56 |
| 57 DECLARE_FLAG(bool, print_class_table); | 57 DECLARE_FLAG(bool, print_class_table); |
| 58 DECLARE_FLAG(bool, verify_handles); | 58 DECLARE_FLAG(bool, verify_handles); |
| 59 #if defined(DART_NO_SNAPSHOT) | 59 #if defined(DART_NO_SNAPSHOT) |
| 60 DEFINE_FLAG(bool, check_function_fingerprints, true, | 60 DEFINE_FLAG(bool, check_function_fingerprints, true, |
| 61 "Check function fingerprints"); | 61 "Check function fingerprints"); |
| 62 #endif // defined(DART_NO_SNAPSHOT). | 62 #endif // defined(DART_NO_SNAPSHOT). |
| 63 DEFINE_FLAG(bool, verify_acquired_data, false, | 63 DEFINE_FLAG(bool, verify_acquired_data, false, |
| (...skipping 6557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6621 | 6621 |
| 6622 DART_EXPORT bool Dart_IsPrecompiledRuntime() { | 6622 DART_EXPORT bool Dart_IsPrecompiledRuntime() { |
| 6623 #if defined(DART_PRECOMPILED_RUNTIME) | 6623 #if defined(DART_PRECOMPILED_RUNTIME) |
| 6624 return true; | 6624 return true; |
| 6625 #else | 6625 #else |
| 6626 return false; | 6626 return false; |
| 6627 #endif | 6627 #endif |
| 6628 } | 6628 } |
| 6629 | 6629 |
| 6630 } // namespace dart | 6630 } // namespace dart |
| OLD | NEW |