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

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 2493473002: Reduce amount of boilerplate associated with bootstrap libraries. (Closed)
Patch Set: Address Florian's comments Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/bootstrap_nocore.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart_api_impl.cc
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
index 343f5979e5eb58182c2db3e23f8a40b3ce59e176..869113f3280f3df8823fc5589b86e4c979b35d39 100644
--- a/runtime/vm/dart_api_impl.cc
+++ b/runtime/vm/dart_api_impl.cc
@@ -5831,6 +5831,7 @@ DART_EXPORT Dart_Handle Dart_FinalizeLoading(bool complete_futures) {
I->debugger()->NotifyDoneLoading();
}
+#if !defined(PRODUCT)
if (FLAG_enable_mirrors) {
// Notify mirrors that MirrorSystem.libraries needs to be recomputed.
const Library& libmirrors = Library::Handle(Z, Library::MirrorsLibrary());
@@ -5839,6 +5840,7 @@ DART_EXPORT Dart_Handle Dart_FinalizeLoading(bool complete_futures) {
ASSERT(!dirty_bit.IsNull() && dirty_bit.is_static());
dirty_bit.SetStaticValue(Bool::True());
}
+#endif
if (complete_futures) {
const Library& corelib = Library::Handle(Z, Library::CoreLibrary());
« no previous file with comments | « runtime/vm/bootstrap_nocore.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698