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

Unified Diff: runtime/bin/gen_snapshot.cc

Issue 1731743003: Move precompilation-related flags to flags list. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: make print_stop_message default false to fix build 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/bin/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/gen_snapshot.cc
diff --git a/runtime/bin/gen_snapshot.cc b/runtime/bin/gen_snapshot.cc
index f1f7e2ccce523dceb6c378e32ff682cbe7ece425..ea9f3d7bf0a1b4e4fe823668825ca9a898367c6b 100644
--- a/runtime/bin/gen_snapshot.cc
+++ b/runtime/bin/gen_snapshot.cc
@@ -1014,7 +1014,10 @@ int main(int argc, char** argv) {
TimerUtils::InitOnce();
EventHandler::Start();
+#if !defined(PRODUCT)
+ // Constant true in PRODUCT mode.
vm_options.AddArgument("--load_deferred_eagerly");
+#endif
if (IsSnapshottingForPrecompilation()) {
vm_options.AddArgument("--precompilation");
« no previous file with comments | « no previous file | runtime/bin/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698