Index: runtime/vm/intrinsifier_arm.cc |
diff --git a/runtime/vm/intrinsifier_arm.cc b/runtime/vm/intrinsifier_arm.cc |
index 377c75a1b29b4d3e1f4c5765cbe2aea23219b4fd..0487fead11b3ee87146257051667514513414a3f 100644 |
--- a/runtime/vm/intrinsifier_arm.cc |
+++ b/runtime/vm/intrinsifier_arm.cc |
@@ -35,7 +35,7 @@ intptr_t Intrinsifier::ParameterSlotFromSp() { return -1; } |
// Intrinsify only for Smi value and index. Non-smi values need a store buffer |
// update. Array length is always a Smi. |
void Intrinsifier::ObjectArraySetIndexed(Assembler* assembler) { |
- if (Isolate::Current()->flags().type_checks()) { |
+ if (Isolate::Current()->type_checks()) { |
return; |
} |
@@ -109,7 +109,7 @@ void Intrinsifier::GrowableArray_Allocate(Assembler* assembler) { |
// On stack: growable array (+1), value (+0). |
void Intrinsifier::GrowableArray_add(Assembler* assembler) { |
// In checked mode we need to type-check the incoming argument. |
- if (Isolate::Current()->flags().type_checks()) { |
+ if (Isolate::Current()->type_checks()) { |
return; |
} |
Label fall_through; |