| Index: runtime/vm/flow_graph_optimizer.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_optimizer.cc (revision 23907)
|
| +++ runtime/vm/flow_graph_optimizer.cc (working copy)
|
| @@ -5186,7 +5186,7 @@
|
| // Fold x == x, and x != x to true/false for numbers and checked strict
|
| // comparisons.
|
| if (instr->is_checked_strict_equal() ||
|
| - RawObject::IsNumberClassId(instr->receiver_class_id())) {
|
| + RawObject::IsIntegerClassId(instr->receiver_class_id())) {
|
| return SetValue(instr,
|
| (instr->kind() == Token::kEQ)
|
| ? Bool::True()
|
|
|