| Index: runtime/vm/precompiler.cc
|
| diff --git a/runtime/vm/precompiler.cc b/runtime/vm/precompiler.cc
|
| index bb6175f6f36f0ea2ea482ffa19a4c93b92a82fb8..e1e9f89e884528a4fe9eff04429f590cca1148b3 100644
|
| --- a/runtime/vm/precompiler.cc
|
| +++ b/runtime/vm/precompiler.cc
|
| @@ -2710,8 +2710,11 @@ bool PrecompileParsedFunctionHelper::Compile(CompilationPipeline* pipeline) {
|
| // The return value of setjmp is the deopt id of the check instruction
|
| // that caused the bailout.
|
| done = false;
|
| + if (!use_speculative_inlining) {
|
| + // Assert that we don't repeatedly retry speculation.
|
| + UNREACHABLE();
|
| + }
|
| #if defined(DEBUG)
|
| - ASSERT(use_speculative_inlining);
|
| for (intptr_t i = 0; i < inlining_black_list.length(); ++i) {
|
| ASSERT(inlining_black_list[i] != val);
|
| }
|
|
|