Index: runtime/vm/aot_optimizer.cc |
diff --git a/runtime/vm/aot_optimizer.cc b/runtime/vm/aot_optimizer.cc |
index 09582888ce4d53ea642e65677555d9922267bda6..f813eb8e43afc2327b09cc92e758a11d34e6f233 100644 |
--- a/runtime/vm/aot_optimizer.cc |
+++ b/runtime/vm/aot_optimizer.cc |
@@ -2760,7 +2760,7 @@ bool AotOptimizer::TryInlineInstanceSetter(InstanceCallInstr* instr, |
const ICData& unary_ic_data) { |
ASSERT((unary_ic_data.NumberOfChecks() > 0) && |
(unary_ic_data.NumArgsTested() == 1)); |
- if (I->flags().type_checks()) { |
+ if (I->type_checks()) { |
// Checked mode setters are inlined like normal methods by conventional |
// inlining. |
return false; |