Index: runtime/vm/flow_graph_compiler.cc |
diff --git a/runtime/vm/flow_graph_compiler.cc b/runtime/vm/flow_graph_compiler.cc |
index 7a1985d47a6086124c60912489e4e69ec6de0f3c..430788b3b6d3148592e4ac57c359b00527b74cf0 100644 |
--- a/runtime/vm/flow_graph_compiler.cc |
+++ b/runtime/vm/flow_graph_compiler.cc |
@@ -107,7 +107,7 @@ DEFINE_FLAG_HANDLER(NooptModeHandler, |
DECLARE_FLAG(bool, lazy_dispatchers); |
DECLARE_FLAG(bool, interpret_irregexp); |
DECLARE_FLAG(bool, enable_mirrors); |
- |
+DECLARE_FLAG(bool, link_natives_lazily); |
static void PrecompileModeHandler(bool value) { |
if (value) { |
@@ -116,6 +116,7 @@ static void PrecompileModeHandler(bool value) { |
FLAG_interpret_irregexp = true; |
FLAG_enable_mirrors = false; |
FLAG_precompile_collect_closures = true; |
+ FLAG_link_natives_lazily = true; |
} |
} |