| Index: runtime/vm/flow_graph_compiler_ia32.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_compiler_ia32.cc (revision 40703)
|
| +++ runtime/vm/flow_graph_compiler_ia32.cc (working copy)
|
| @@ -380,7 +380,7 @@
|
| // Check if instance is a closure.
|
| const Immediate& raw_null =
|
| Immediate(reinterpret_cast<intptr_t>(Object::null()));
|
| - __ LoadClassById(EDI, kClassIdReg);
|
| + __ LoadClassById(EDI, kClassIdReg, isolate());
|
| __ movl(EDI, FieldAddress(EDI, Class::signature_function_offset()));
|
| __ cmpl(EDI, raw_null);
|
| __ j(NOT_EQUAL, is_instance_lbl);
|
| @@ -415,7 +415,7 @@
|
| Label* is_not_instance_lbl) {
|
| __ Comment("Subtype1TestCacheLookup");
|
| const Register kInstanceReg = EAX;
|
| - __ LoadClass(ECX, kInstanceReg, EDI);
|
| + __ LoadClass(ECX, kInstanceReg, EDI, isolate());
|
| // ECX: instance class.
|
| // Check immediate superclass equality.
|
| __ movl(EDI, FieldAddress(ECX, Class::super_type_offset()));
|
|
|