| Index: runtime/vm/flow_graph_inliner.cc
|
| diff --git a/runtime/vm/flow_graph_inliner.cc b/runtime/vm/flow_graph_inliner.cc
|
| index 7a0808ecb94bcb39226d8ebe780b2f37eefdf19d..95a1c9f1ec9930594f013ac7fb9fb1f2b8dc308e 100644
|
| --- a/runtime/vm/flow_graph_inliner.cc
|
| +++ b/runtime/vm/flow_graph_inliner.cc
|
| @@ -2237,7 +2237,7 @@ static bool InlineSetIndexed(FlowGraph* flow_graph,
|
| call->GetBlock()->try_index());
|
| (*entry)->InheritDeoptTarget(Z, call);
|
| Instruction* cursor = *entry;
|
| - if (flow_graph->isolate()->flags().type_checks()) {
|
| + if (flow_graph->isolate()->type_checks()) {
|
| // Only type check for the value. A type check for the index is not
|
| // needed here because we insert a deoptimizing smi-check for the case
|
| // the index is not a smi.
|
|
|