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

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 2981173002: Remove the debugger_ field from Isolate in a PRODUCT build (Closed)
Patch Set: Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/dart_api_impl.cc
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
index b33699429fef3dc04ca5fd0d2bd464a9cafdb199..ae6de71d32282a295d9a55874eddc1deddbffc13 100644
--- a/runtime/vm/dart_api_impl.cc
+++ b/runtime/vm/dart_api_impl.cc
@@ -5633,6 +5633,7 @@ DART_EXPORT Dart_Handle Dart_FinalizeLoading(bool complete_futures) {
I->DoneFinalizing();
+#if !defined(PRODUCT)
// Now that the newly loaded classes are finalized, notify the debugger
// that new code has been loaded. If there are latent breakpoints in
// the new code, the debugger convert them to unresolved source breakpoints.
@@ -5641,6 +5642,7 @@ DART_EXPORT Dart_Handle Dart_FinalizeLoading(bool complete_futures) {
if (FLAG_support_debugger) {
I->debugger()->NotifyDoneLoading();
}
+#endif
#if !defined(DART_PRECOMPILED_RUNTIME)
if (FLAG_enable_mirrors) {
« no previous file with comments | « runtime/vm/dart.cc ('k') | runtime/vm/dart_entry.cc » ('j') | runtime/vm/object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698