| Index: runtime/vm/flow_graph_builder.cc
|
| diff --git a/runtime/vm/flow_graph_builder.cc b/runtime/vm/flow_graph_builder.cc
|
| index d1e0b857c40340aed606382fbb1d3d87c7f6896a..5bec82ed2287b764024b75f2b4037f5c457aed5a 100644
|
| --- a/runtime/vm/flow_graph_builder.cc
|
| +++ b/runtime/vm/flow_graph_builder.cc
|
| @@ -3660,7 +3660,7 @@ void EffectGraphVisitor::VisitStoreInstanceFieldNode(
|
| kEmitStoreBarrier,
|
| token_pos);
|
| // Maybe initializing unboxed store.
|
| - store->set_is_potential_unboxed_initialization(true);
|
| + store->set_is_potential_unboxed_initialization(node->is_initializer());
|
| ReturnDefinition(store);
|
| }
|
|
|
|
|