Index: runtime/vm/intermediate_language_arm64.cc |
diff --git a/runtime/vm/intermediate_language_arm64.cc b/runtime/vm/intermediate_language_arm64.cc |
index 84884ae471c9cc87a3feac3f4ea3eba8c9f5f7b0..3f6d6648ca76c3507ad1d1a6feb63d0f3c65d9c1 100644 |
--- a/runtime/vm/intermediate_language_arm64.cc |
+++ b/runtime/vm/intermediate_language_arm64.cc |
@@ -361,13 +361,13 @@ static void EmitAssertBoolean(Register reg, |
ASSERT(locs->always_calls()); |
Label done; |
- if (Isolate::Current()->flags().type_checks()) { |
+ if (Isolate::Current()->type_checks()) { |
__ CompareObject(reg, Bool::True()); |
__ b(&done, EQ); |
__ CompareObject(reg, Bool::False()); |
__ b(&done, EQ); |
} else { |
- ASSERT(Isolate::Current()->flags().asserts()); |
+ ASSERT(Isolate::Current()->asserts()); |
__ CompareObject(reg, Object::null_instance()); |
__ b(&done, NE); |
} |