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

Unified Diff: runtime/vm/code_generator_ia32.cc

Issue 10441111: - Rename class index to class id. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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.cc ('k') | runtime/vm/dart_api_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_generator_ia32.cc
===================================================================
--- runtime/vm/code_generator_ia32.cc (revision 8135)
+++ runtime/vm/code_generator_ia32.cc (working copy)
@@ -1456,14 +1456,14 @@
// Dynamic type argument, check only classes.
__ LoadClassIndexOfObject(ECX, EAX);
if (!type_class.is_interface()) {
- __ cmpl(ECX, Immediate(type_class.index()));
+ __ cmpl(ECX, Immediate(type_class.id()));
__ j(EQUAL, is_instance_lbl);
}
if (type.IsListInterface()) {
// TODO(srdjan) also accept List<Object>.
- __ cmpl(ECX, Immediate(CoreClass("ObjectArray")->index()));
+ __ cmpl(ECX, Immediate(CoreClass("ObjectArray")->id()));
__ j(EQUAL, is_instance_lbl);
- __ cmpl(ECX, Immediate(CoreClass("GrowableObjectArray")->index()));
+ __ cmpl(ECX, Immediate(CoreClass("GrowableObjectArray")->id()));
__ j(EQUAL, is_instance_lbl);
}
return
« no previous file with comments | « runtime/vm/class_table.cc ('k') | runtime/vm/dart_api_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698