Index: runtime/vm/intrinsifier_ia32.cc |
diff --git a/runtime/vm/intrinsifier_ia32.cc b/runtime/vm/intrinsifier_ia32.cc |
index b6dcba0a3f6939ea625b6461d0cbaa7cc60ac258..29870b2c6493f555b2cc8adcda7adedc8527b7b2 100644 |
--- a/runtime/vm/intrinsifier_ia32.cc |
+++ b/runtime/vm/intrinsifier_ia32.cc |
@@ -55,7 +55,7 @@ static intptr_t ComputeObjectArrayTypeArgumentsOffset() { |
// update. Array length is always a Smi. |
void Intrinsifier::ObjectArraySetIndexed(Assembler* assembler) { |
Label fall_through; |
- if (Isolate::Current()->flags().type_checks()) { |
+ if (Isolate::Current()->type_checks()) { |
const intptr_t type_args_field_offset = |
ComputeObjectArrayTypeArgumentsOffset(); |
// Inline simple tests (Smi, null), fallthrough if not positive. |
@@ -156,7 +156,7 @@ void Intrinsifier::GrowableArray_Allocate(Assembler* assembler) { |
// On stack: growable array (+2), value (+1), return-address (+0). |
void Intrinsifier::GrowableArray_add(Assembler* assembler) { |
// In checked mode we need to type-check the incoming argument. |
- if (Isolate::Current()->flags().type_checks()) return; |
+ if (Isolate::Current()->type_checks()) return; |
Label fall_through; |
__ movl(EAX, Address(ESP, + 2 * kWordSize)); // Array. |