Index: runtime/vm/flow_graph_optimizer.cc |
=================================================================== |
--- runtime/vm/flow_graph_optimizer.cc (revision 13114) |
+++ runtime/vm/flow_graph_optimizer.cc (working copy) |
@@ -1086,7 +1086,8 @@ |
} else { |
ASSERT(comp->receiver_class_id() == kIllegalCid); |
} |
- } else if (HasTwoMintOrSmi(*comp->ic_data())) { |
+ } else if (HasTwoMintOrSmi(*comp->ic_data()) && |
+ FlowGraphCompiler::SupportsUnboxedMints()) { |
comp->set_receiver_class_id(kMintCid); |
} else if (comp->ic_data()->AllReceiversAreNumbers()) { |
comp->set_receiver_class_id(kNumberCid); |