Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(357)

Unified Diff: runtime/vm/flow_graph_compiler_ia32.cc

Issue 605533003: Make subtype test stubs isolate-specific. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()));

Powered by Google App Engine
This is Rietveld 408576698