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

Unified Diff: runtime/vm/flow_graph_compiler_mips.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_mips.cc
===================================================================
--- runtime/vm/flow_graph_compiler_mips.cc (revision 40703)
+++ runtime/vm/flow_graph_compiler_mips.cc (working copy)
@@ -372,7 +372,7 @@
}
if (type.IsFunctionType()) {
// Check if instance is a closure.
- __ LoadClassById(T1, kClassIdReg);
+ __ LoadClassById(T1, kClassIdReg, isolate());
__ lw(T1, FieldAddress(T1, Class::signature_function_offset()));
__ BranchNotEqual(T1, reinterpret_cast<int32_t>(Object::null()),
is_instance_lbl);
@@ -408,7 +408,7 @@
__ TraceSimMsg("Subtype1TestCacheLookup");
__ Comment("Subtype1TestCacheLookup");
const Register kInstanceReg = A0;
- __ LoadClass(T0, kInstanceReg);
+ __ LoadClass(T0, kInstanceReg, isolate());
// T0: instance class.
// Check immediate superclass equality.
__ lw(T0, FieldAddress(T0, Class::super_type_offset()));

Powered by Google App Engine
This is Rietveld 408576698