Index: runtime/vm/dart_api_impl.cc |
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc |
index 69b52f18c8d6c8aeff2cc648c500281f9e5596fa..2661396483e40080ab0c8c097ce1c0dca08443e3 100644 |
--- a/runtime/vm/dart_api_impl.cc |
+++ b/runtime/vm/dart_api_impl.cc |
@@ -5929,7 +5929,7 @@ DART_EXPORT Dart_Handle Dart_FinalizeLoading(bool complete_futures) { |
I->debugger()->NotifyDoneLoading(); |
} |
-#if !defined(PRODUCT) |
+#if !defined(DART_PRECOMPILED_RUNTIME) |
if (FLAG_enable_mirrors) { |
// Notify mirrors that MirrorSystem.libraries needs to be recomputed. |
const Library& libmirrors = Library::Handle(Z, Library::MirrorsLibrary()); |