| Index: runtime/vm/flow_graph_optimizer.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_optimizer.cc (revision 13112)
|
| +++ runtime/vm/flow_graph_optimizer.cc (working copy)
|
| @@ -2901,18 +2901,6 @@
|
| }
|
|
|
|
|
| -void ConstantPropagator::VisitBinaryMintOp(BinaryMintOpInstr* instr) {
|
| - const Object& left = instr->left()->definition()->constant_value();
|
| - const Object& right = instr->right()->definition()->constant_value();
|
| - if (IsNonConstant(left) || IsNonConstant(right)) {
|
| - SetValue(instr, non_constant_);
|
| - } else if (IsConstant(left) && IsConstant(right)) {
|
| - // TODO(kmillikin): Handle binary operations.
|
| - SetValue(instr, non_constant_);
|
| - }
|
| -}
|
| -
|
| -
|
| void ConstantPropagator::VisitUnarySmiOp(UnarySmiOpInstr* instr) {
|
| const Object& value = instr->value()->definition()->constant_value();
|
| if (IsNonConstant(value)) {
|
|
|