| Index: runtime/vm/flow_graph_type_propagator.cc
|
| diff --git a/runtime/vm/flow_graph_type_propagator.cc b/runtime/vm/flow_graph_type_propagator.cc
|
| index d3cdc8418fb36da18f6e90f63ddd8fb341df80a6..7e88f12e77687684fab3ec84e10a51ce0aad2ac6 100644
|
| --- a/runtime/vm/flow_graph_type_propagator.cc
|
| +++ b/runtime/vm/flow_graph_type_propagator.cc
|
| @@ -219,7 +219,7 @@ void FlowGraphTypePropagator::VisitCheckArrayBound(
|
|
|
|
|
| void FlowGraphTypePropagator::VisitCheckClass(CheckClassInstr* check) {
|
| - if ((check->unary_checks().NumberOfChecks() != 1) ||
|
| + if (!check->unary_checks().NumberOfChecksIs(1) ||
|
| !check->Dependencies().IsNone()) {
|
| // TODO(vegorov): If check is affected by side-effect we can still propagate
|
| // the type further but not the cid.
|
|
|