| Index: runtime/vm/flow_graph_optimizer.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_optimizer.cc (revision 35656)
|
| +++ runtime/vm/flow_graph_optimizer.cc (working copy)
|
| @@ -7604,6 +7604,9 @@
|
| Integer::Cast(left),
|
| Integer::Cast(right));
|
| SetValue(instr, Bool::Get(result));
|
| + } else if (left.IsDouble() && right.IsDouble()) {
|
| + // TODO(srdjan): Implement.
|
| + SetValue(instr, non_constant_);
|
| } else {
|
| SetValue(instr, non_constant_);
|
| }
|
| @@ -8072,6 +8075,11 @@
|
| }
|
|
|
|
|
| +void ConstantPropagator::VisitUnboxedConstant(UnboxedConstantInstr* instr) {
|
| + SetValue(instr, instr->value());
|
| +}
|
| +
|
| +
|
| void ConstantPropagator::VisitConstraint(ConstraintInstr* instr) {
|
| // Should not be used outside of range analysis.
|
| UNREACHABLE();
|
|
|