| Index: runtime/vm/flow_graph_compiler.cc
|
| diff --git a/runtime/vm/flow_graph_compiler.cc b/runtime/vm/flow_graph_compiler.cc
|
| index e40887bbf0d4aab601a369c47f7874c572ee195c..6d4795751651e2f07d85452a2268b42be977d77b 100644
|
| --- a/runtime/vm/flow_graph_compiler.cc
|
| +++ b/runtime/vm/flow_graph_compiler.cc
|
| @@ -103,8 +103,8 @@ static void PrecompilationModeHandler(bool value) {
|
| // loading, deoptimization, ...). Noopt mode simulates behavior
|
| // of precompiled code, therefore do not allow recompilation.
|
| Compiler::set_allow_recompilation(false);
|
| - // TODO(srdjan): Enable CHA deoptimization when eager class finalization is
|
| - // implemented, either with precompilation or as a special pass.
|
| + // Precompilation finalizes all classes and thus allows CHA optimizations.
|
| + // Do not require CHA triggered deoptimization.
|
| FLAG_use_cha_deopt = false;
|
| // Calling the PrintStopMessage stub is not supported in precompiled code
|
| // since it is done at places where no pool pointer is loaded.
|
| @@ -546,11 +546,6 @@ void FlowGraphCompiler::VisitBlocks() {
|
| #endif
|
| }
|
|
|
| - if (inline_id_to_function_.length() > max_inlining_id + 1) {
|
| - // TODO(srdjan): Some inlined function can disappear,
|
| - // truncate 'inline_id_to_function_'.
|
| - }
|
| -
|
| if (is_optimizing()) {
|
| LogBlock lb;
|
| intervals.Add(IntervalStruct(prev_offset, prev_inlining_id));
|
|
|