Index: runtime/vm/intrinsifier_ia32.cc |
diff --git a/runtime/vm/intrinsifier_ia32.cc b/runtime/vm/intrinsifier_ia32.cc |
index b8783d014cef35c554bbc0259ffdf563c280d117..93290edd32754b4443ff83411806c01ed7cf5343 100644 |
--- a/runtime/vm/intrinsifier_ia32.cc |
+++ b/runtime/vm/intrinsifier_ia32.cc |
@@ -54,7 +54,7 @@ static intptr_t ComputeObjectArrayTypeArgumentsOffset() { |
// update. Array length is always a Smi. |
void Intrinsifier::ObjectArraySetIndexed(Assembler* assembler) { |
Label fall_through; |
- if (Isolate::Current()->TypeChecksEnabled()) { |
+ if (Isolate::Current()->flags().type_checks()) { |
const intptr_t type_args_field_offset = |
ComputeObjectArrayTypeArgumentsOffset(); |
// Inline simple tests (Smi, null), fallthrough if not positive. |
@@ -155,7 +155,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()->TypeChecksEnabled()) return; |
+ if (Isolate::Current()->flags().type_checks()) return; |
Label fall_through; |
__ movl(EAX, Address(ESP, + 2 * kWordSize)); // Array. |