| Index: runtime/vm/flow_graph_compiler_arm.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_compiler_arm.cc (revision 40703)
|
| +++ runtime/vm/flow_graph_compiler_arm.cc (working copy)
|
| @@ -381,7 +381,7 @@
|
| }
|
| if (type.IsFunctionType()) {
|
| // Check if instance is a closure.
|
| - __ LoadClassById(R3, kClassIdReg);
|
| + __ LoadClassById(R3, kClassIdReg, isolate());
|
| __ ldr(R3, FieldAddress(R3, Class::signature_function_offset()));
|
| __ CompareImmediate(R3, reinterpret_cast<int32_t>(Object::null()));
|
| __ b(is_instance_lbl, NE);
|
| @@ -416,7 +416,7 @@
|
| Label* is_not_instance_lbl) {
|
| __ Comment("Subtype1TestCacheLookup");
|
| const Register kInstanceReg = R0;
|
| - __ LoadClass(R1, kInstanceReg, R2);
|
| + __ LoadClass(R1, kInstanceReg, R2, isolate());
|
| // R1: instance class.
|
| // Check immediate superclass equality.
|
| __ ldr(R2, FieldAddress(R1, Class::super_type_offset()));
|
|
|