| Index: runtime/vm/compiler.cc
|
| diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc
|
| index 493cc0e67e0152d076e0aa67fc2c6cffbba69723..d7d94e210f94e6b8b1e183bcf9f8a4f468ce776b 100644
|
| --- a/runtime/vm/compiler.cc
|
| +++ b/runtime/vm/compiler.cc
|
| @@ -433,7 +433,8 @@ static bool CompileParsedFunctionHelper(CompilationPipeline* pipeline,
|
| bool done = false;
|
| // volatile because the variable may be clobbered by a longjmp.
|
| volatile bool use_far_branches = false;
|
| - volatile bool use_speculative_inlining = true;
|
| + volatile bool use_speculative_inlining =
|
| + FLAG_max_speculative_inlining_attempts > 0;
|
| GrowableArray<intptr_t> inlining_black_list;
|
|
|
| while (!done) {
|
|
|