| Index: runtime/vm/flow_graph_builder.cc
|
| diff --git a/runtime/vm/flow_graph_builder.cc b/runtime/vm/flow_graph_builder.cc
|
| index 78efd462b248c9e7e062846ca397b31c56a2fb64..728a9193f2d23d42bdee7b69a4a8ffacf3e03d27 100644
|
| --- a/runtime/vm/flow_graph_builder.cc
|
| +++ b/runtime/vm/flow_graph_builder.cc
|
| @@ -2028,7 +2028,7 @@ void EffectGraphVisitor::VisitClosureNode(ClosureNode* node) {
|
| const Function& function = node->function();
|
|
|
| if (function.IsImplicitStaticClosureFunction()) {
|
| - Instance& closure = Instance::ZoneHandle();
|
| +/* Instance& closure = Instance::ZoneHandle();
|
| closure ^= function.implicit_static_closure();
|
| if (closure.IsNull()) {
|
| ObjectStore* object_store = Isolate::Current()->object_store();
|
| @@ -2037,6 +2037,10 @@ void EffectGraphVisitor::VisitClosureNode(ClosureNode* node) {
|
| function.set_implicit_static_closure(closure);
|
| }
|
| ReturnDefinition(new ConstantInstr(closure));
|
| +*/
|
| + const Instance& closure =
|
| + Instance::ZoneHandle(function.ImplicitStaticClosure());
|
| + ReturnDefinition(new ConstantInstr(closure));
|
| return;
|
| }
|
| if (function.IsNonImplicitClosureFunction()) {
|
|
|