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

Unified Diff: runtime/vm/flow_graph_compiler_ia32.cc

Issue 10539145: Implement polymorphic instance calls. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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 8625)
+++ runtime/vm/flow_graph_compiler_ia32.cc (working copy)
@@ -974,7 +974,7 @@
__ LoadClassId(temp_reg, instance_reg);
for (intptr_t i = 0; i < class_ids.length(); i++) {
__ cmpl(temp_reg, Immediate(class_ids[i]));
- if (i == class_ids.length() - 1) {
+ if (i == (class_ids.length() - 1)) {
__ j(NOT_EQUAL, deopt);
} else {
if (use_near_jump) {

Powered by Google App Engine
This is Rietveld 408576698