| Index: runtime/vm/flow_graph_compiler.cc
|
| diff --git a/runtime/vm/flow_graph_compiler.cc b/runtime/vm/flow_graph_compiler.cc
|
| index ff214ae8b5e66c000ef9b43dc4ae40d4a462604c..169c8576e190ac0a1f4cb23b920d55e58a637ba3 100644
|
| --- a/runtime/vm/flow_graph_compiler.cc
|
| +++ b/runtime/vm/flow_graph_compiler.cc
|
| @@ -980,7 +980,7 @@ void FlowGraphCompiler::FinalizeStaticCallTargetsTable(const Code& code) {
|
| void FlowGraphCompiler::TryIntrinsify() {
|
| // Intrinsification skips arguments checks, therefore disable if in checked
|
| // mode.
|
| - if (FLAG_intrinsify && !isolate()->TypeChecksEnabled()) {
|
| + if (FLAG_intrinsify && !isolate()->flags().type_checks()) {
|
| if (parsed_function().function().kind() == RawFunction::kImplicitGetter) {
|
| // An implicit getter must have a specific AST structure.
|
| const SequenceNode& sequence_node = *parsed_function().node_sequence();
|
|
|