| Index: runtime/vm/flow_graph_optimizer.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_optimizer.cc (revision 25822)
|
| +++ runtime/vm/flow_graph_optimizer.cc (working copy)
|
| @@ -2880,6 +2880,8 @@
|
| strict_kind,
|
| compare->left()->CopyWithType(),
|
| compare->right()->CopyWithType());
|
| + // Numbers override equality and are therefore not part of this conversion.
|
| + strict_comp->set_needs_number_check(false);
|
| current_instruction->ReplaceWith(strict_comp, current_iterator());
|
| return true;
|
| }
|
|
|