| Index: runtime/vm/compiler.cc
|
| diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc
|
| index b460ae69c67a21c78ede655c41aed2748c87bac4..408a47594423aa806dc95fa156193a0f9b073a74 100644
|
| --- a/runtime/vm/compiler.cc
|
| +++ b/runtime/vm/compiler.cc
|
| @@ -206,6 +206,9 @@ static bool CompileParsedFunctionHelper(const ParsedFunction& parsed_function,
|
| // Use propagated class-ids to optimize further.
|
| optimizer.ApplyClassIds();
|
|
|
| + // Recompute use lists after applying class ids.
|
| + flow_graph->ComputeUseLists();
|
| +
|
| // Do optimizations that depend on the propagated type information.
|
| // TODO(srdjan): Should this be called CanonicalizeComputations?
|
| optimizer.OptimizeComputations();
|
|
|