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

Unified Diff: runtime/vm/flow_graph_compiler_x64.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
« no previous file with comments | « runtime/vm/class_table.h ('k') | runtime/vm/stub_code.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler_x64.cc
===================================================================
--- runtime/vm/flow_graph_compiler_x64.cc (revision 40704)
+++ runtime/vm/flow_graph_compiler_x64.cc (working copy)
@@ -374,7 +374,7 @@
}
if (type.IsFunctionType()) {
// Check if instance is a closure.
- __ LoadClassById(R13, kClassIdReg);
+ __ LoadClassById(R13, kClassIdReg, PP);
__ movq(R13, FieldAddress(R13, Class::signature_function_offset()));
__ CompareObject(R13, Object::null_object(), PP);
__ j(NOT_EQUAL, is_instance_lbl);
@@ -409,7 +409,7 @@
Label* is_not_instance_lbl) {
__ Comment("Subtype1TestCacheLookup");
const Register kInstanceReg = RAX;
- __ LoadClass(R10, kInstanceReg);
+ __ LoadClass(R10, kInstanceReg, PP);
// R10: instance class.
// Check immediate superclass equality.
__ movq(R13, FieldAddress(R10, Class::super_type_offset()));
« no previous file with comments | « runtime/vm/class_table.h ('k') | runtime/vm/stub_code.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698