| Index: runtime/vm/flow_graph_optimizer.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_optimizer.cc (revision 33072)
|
| +++ runtime/vm/flow_graph_optimizer.cc (working copy)
|
| @@ -7247,12 +7247,6 @@
|
| }
|
|
|
|
|
| -void ConstantPropagator::VisitCreateClosure(CreateClosureInstr* instr) {
|
| - // TODO(kmillikin): Treat closures as constants.
|
| - SetValue(instr, non_constant_);
|
| -}
|
| -
|
| -
|
| void ConstantPropagator::VisitAllocateObject(AllocateObjectInstr* instr) {
|
| SetValue(instr, non_constant_);
|
| }
|
|
|