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

Unified Diff: runtime/bin/main.cc

Issue 2397853003: Include optimized code in JIT app snapshots. (Closed)
Patch Set: reorder Created 4 years, 2 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/vm/clustered_snapshot.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 8a80c7e7808ee33724ba49b06375fc9d3a8e4a60..c5afc0bfe2a70f5205572c409fe555f0bb073c62 100644
--- a/runtime/bin/main.cc
+++ b/runtime/bin/main.cc
@@ -1785,6 +1785,9 @@ void main(int argc, char** argv) {
}
#endif
+ if (gen_snapshot_kind == kAppJITAfterRun) {
+ vm_options.AddArgument("--fields_may_be_reset");
+ }
if ((gen_snapshot_kind == kAppAOT) || is_noopt) {
vm_options.AddArgument("--precompilation");
}
« no previous file with comments | « no previous file | runtime/vm/clustered_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698