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

Unified Diff: runtime/bin/main.cc

Issue 1720193002: - Fix --run-fullsnapshot flag processing issue in non product mode. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: self-code-review 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
« no previous file with comments | « no previous file | runtime/tests/vm/vm.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/main.cc
diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc
index e5e60dc1e23498a86bf21d39ccd28c58faa2d928..464248693688501638eaa5d9c2a8d0de69cc6c3e 100644
--- a/runtime/bin/main.cc
+++ b/runtime/bin/main.cc
@@ -411,8 +411,10 @@ static bool ProcessRunFullSnapshotOption(
#ifndef DART_PRODUCT_BINARY
Log::PrintErr("Full Application snapshots can only be be run with"
" dart_product\n");
-#endif
+ return false;
+#else
return ProcessSnapshotOptionHelper(filename, &run_full_snapshot);
+#endif // defined(DART_PRODUCT_BINARY)
}
« no previous file with comments | « no previous file | runtime/tests/vm/vm.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698