| Index: runtime/vm/flow_graph_compiler.cc
|
| diff --git a/runtime/vm/flow_graph_compiler.cc b/runtime/vm/flow_graph_compiler.cc
|
| index 5197713860f2fa4068f7a2b346429a037ffa9998..1f02942374fab0b1330bf597b2732085be24a49f 100644
|
| --- a/runtime/vm/flow_graph_compiler.cc
|
| +++ b/runtime/vm/flow_graph_compiler.cc
|
| @@ -84,6 +84,8 @@ DECLARE_FLAG(int, inlining_callee_size_threshold);
|
| DECLARE_FLAG(int, inline_getters_setters_smaller_than);
|
| DECLARE_FLAG(int, inlining_depth_threshold);
|
| DECLARE_FLAG(int, inlining_caller_size_threshold);
|
| +DECLARE_FLAG(int, inlining_constant_arguments_max_size_threshold);
|
| +DECLARE_FLAG(int, inlining_constant_arguments_min_size_threshold);
|
|
|
| bool FLAG_precompilation = false;
|
| static void PrecompilationModeHandler(bool value) {
|
| @@ -135,6 +137,9 @@ static void PrecompilationModeHandler(bool value) {
|
| FLAG_inlining_depth_threshold = 2;
|
| FLAG_inlining_caller_size_threshold = 1000;
|
|
|
| + FLAG_inlining_constant_arguments_max_size_threshold = 100;
|
| + FLAG_inlining_constant_arguments_min_size_threshold = 30;
|
| +
|
| // Background compilation relies on two-stage compilation pipeline,
|
| // while precompilation has only one.
|
| FLAG_background_compilation = false;
|
|
|