| Index: runtime/vm/intrinsifier_x64.cc
|
| diff --git a/runtime/vm/intrinsifier_x64.cc b/runtime/vm/intrinsifier_x64.cc
|
| index 2b8cb36f7e640bf061bb58d0a548a80307ce2fcb..e98777fe7aa316416cc737ceb63f7805180dad29 100644
|
| --- a/runtime/vm/intrinsifier_x64.cc
|
| +++ b/runtime/vm/intrinsifier_x64.cc
|
| @@ -32,7 +32,7 @@ intptr_t Intrinsifier::ParameterSlotFromSp() { return 0; }
|
|
|
|
|
| void Intrinsifier::ObjectArraySetIndexed(Assembler* assembler) {
|
| - if (Isolate::Current()->flags().type_checks()) {
|
| + if (Isolate::Current()->type_checks()) {
|
| return;
|
| }
|
|
|
| @@ -102,7 +102,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 check the incoming argument.
|
| - if (Isolate::Current()->flags().type_checks()) return;
|
| + if (Isolate::Current()->type_checks()) return;
|
| Label fall_through;
|
| __ movq(RAX, Address(RSP, + 2 * kWordSize)); // Array.
|
| __ movq(RCX, FieldAddress(RAX, GrowableObjectArray::length_offset()));
|
|
|