Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Side by Side Diff: runtime/vm/dart_api_impl.cc

Issue 1712843002: Remove mirrors in product mode (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/bootstrap_natives.cc ('k') | runtime/vm/flag_list.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #include "vm/unicode.h" 44 #include "vm/unicode.h"
45 #include "vm/verifier.h" 45 #include "vm/verifier.h"
46 #include "vm/version.h" 46 #include "vm/version.h"
47 47
48 namespace dart { 48 namespace dart {
49 49
50 // Facilitate quick access to the current zone once we have the curren thread. 50 // Facilitate quick access to the current zone once we have the curren thread.
51 #define Z (T->zone()) 51 #define Z (T->zone())
52 52
53 53
54 DECLARE_FLAG(bool, enable_mirrors);
55 DECLARE_FLAG(bool, load_deferred_eagerly); 54 DECLARE_FLAG(bool, load_deferred_eagerly);
56 DECLARE_FLAG(bool, precompilation); 55 DECLARE_FLAG(bool, precompilation);
57 DECLARE_FLAG(bool, print_class_table); 56 DECLARE_FLAG(bool, print_class_table);
58 DECLARE_FLAG(bool, verify_handles); 57 DECLARE_FLAG(bool, verify_handles);
59 #if defined(DART_NO_SNAPSHOT) 58 #if defined(DART_NO_SNAPSHOT)
60 DEFINE_FLAG(bool, check_function_fingerprints, true, 59 DEFINE_FLAG(bool, check_function_fingerprints, true,
61 "Check function fingerprints"); 60 "Check function fingerprints");
62 #endif // defined(DART_NO_SNAPSHOT). 61 #endif // defined(DART_NO_SNAPSHOT).
63 DEFINE_FLAG(bool, verify_acquired_data, false, 62 DEFINE_FLAG(bool, verify_acquired_data, false,
64 "Verify correct API acquire/release of typed data."); 63 "Verify correct API acquire/release of typed data.");
(...skipping 6104 matching lines...) Expand 10 before | Expand all | Expand 10 after
6169 return Api::Success(); 6168 return Api::Success();
6170 } 6169 }
6171 #endif // DART_PRECOMPILER 6170 #endif // DART_PRECOMPILER
6172 6171
6173 6172
6174 DART_EXPORT bool Dart_IsRunningPrecompiledCode() { 6173 DART_EXPORT bool Dart_IsRunningPrecompiledCode() {
6175 return Dart::IsRunningPrecompiledCode(); 6174 return Dart::IsRunningPrecompiledCode();
6176 } 6175 }
6177 6176
6178 } // namespace dart 6177 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/bootstrap_natives.cc ('k') | runtime/vm/flag_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698