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

Unified Diff: runtime/vm/dart.cc

Issue 1660063002: Remove many features when building 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/dart.cc
diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc
index b8ce008357e4225479ec3459d6d97b4b6246c17c..3bd7feddce74b4a14a8c04abfacebbc89b25ab93 100644
--- a/runtime/vm/dart.cc
+++ b/runtime/vm/dart.cc
@@ -200,7 +200,9 @@ const char* Dart::InitOnce(const uint8_t* vm_isolate_snapshot,
Isolate::SetCreateCallback(create);
Isolate::SetShutdownCallback(shutdown);
+#ifndef PRODUCT
Service::SetGetServiceAssetsCallback(get_service_assets);
+#endif // !PRODUCT
ServiceIsolate::Run();
return NULL;
@@ -398,7 +400,9 @@ RawError* Dart::InitializeIsolate(const uint8_t* snapshot_buffer, void* data) {
FLAG_pause_isolates_on_exit);
}
ServiceIsolate::SendIsolateStartupMessage();
+#ifndef PRODUCT
rmacnak 2016/02/04 21:26:41 + FLAG_support_debugger
I->debugger()->NotifyIsolateCreated();
+#endif // !PRODUCT
// Create tag table.
I->set_tag_table(GrowableObjectArray::Handle(GrowableObjectArray::New()));

Powered by Google App Engine
This is Rietveld 408576698