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

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
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698