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

Unified Diff: runtime/vm/flow_graph_compiler_arm64.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_arm64.cc
===================================================================
--- runtime/vm/flow_graph_compiler_arm64.cc (revision 40703)
+++ runtime/vm/flow_graph_compiler_arm64.cc (working copy)
@@ -368,7 +368,7 @@
}
if (type.IsFunctionType()) {
// Check if instance is a closure.
- __ LoadClassById(R3, kClassIdReg, PP);
+ __ LoadClassById(R3, kClassIdReg, isolate(), PP);
__ LoadFieldFromOffset(R3, R3, Class::signature_function_offset(), PP);
__ CompareObject(R3, Object::null_object(), PP);
__ b(is_instance_lbl, NE);
@@ -403,7 +403,7 @@
Label* is_not_instance_lbl) {
__ Comment("Subtype1TestCacheLookup");
const Register kInstanceReg = R0;
- __ LoadClass(R1, kInstanceReg, PP);
+ __ LoadClass(R1, kInstanceReg, isolate(), PP);
// R1: instance class.
// Check immediate superclass equality.
__ LoadFieldFromOffset(R2, R1, Class::super_type_offset(), PP);

Powered by Google App Engine
This is Rietveld 408576698