Index: runtime/vm/intermediate_language_x64.cc |
diff --git a/runtime/vm/intermediate_language_x64.cc b/runtime/vm/intermediate_language_x64.cc |
index fc49bda20b9522a35157379a55d5e5678a128538..111215fd561354f9c267a645e7191cacfa3ec87a 100644 |
--- a/runtime/vm/intermediate_language_x64.cc |
+++ b/runtime/vm/intermediate_language_x64.cc |
@@ -332,13 +332,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()); |
__ j(EQUAL, &done, Assembler::kNearJump); |
__ CompareObject(reg, Bool::False()); |
__ j(EQUAL, &done, Assembler::kNearJump); |
} else { |
- ASSERT(Isolate::Current()->flags().asserts()); |
+ ASSERT(Isolate::Current()->asserts()); |
__ CompareObject(reg, Object::null_instance()); |
__ j(NOT_EQUAL, &done, Assembler::kNearJump); |
} |