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

Unified Diff: runtime/bin/main.cc

Issue 1759913002: Make precompiler work with product mode. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: addressed comments 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/lib/regexp.cc » ('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 bb21b9f3cee09c503911b63dff4409f99acf72f2..aeeb3cf9dc08cef9ea91bce95260996ba0e4d63f 100644
--- a/runtime/bin/main.cc
+++ b/runtime/bin/main.cc
@@ -340,10 +340,7 @@ static bool ProcessGenPrecompiledSnapshotOption(
precompiled_snapshot_directory = arg;
}
gen_precompiled_snapshot = true;
-#if !defined(DART_PRECOMPILED_RUNTIME)
- // The precompiled runtime has FLAG_precompilation set as const.
vm_options->AddArgument("--precompilation");
-#endif
return true;
}
@@ -358,10 +355,7 @@ static bool ProcessRunPrecompiledSnapshotOption(
precompiled_snapshot_directory = &precompiled_snapshot_directory[1];
}
run_precompiled_snapshot = true;
-#if !defined(DART_PRECOMPILED_RUNTIME)
- // The precompiled runtime has FLAG_precompilation set as const.
vm_options->AddArgument("--precompilation");
-#endif
return true;
}
« no previous file with comments | « no previous file | runtime/lib/regexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698