| Index: runtime/vm/compiler.cc
 | 
| diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc
 | 
| index c42a34854aa7bcbf53130caa61da8a27ecf24b3e..21f2124bc95d9503f61b446ebdba3ab2ea0d2e83 100644
 | 
| --- a/runtime/vm/compiler.cc
 | 
| +++ b/runtime/vm/compiler.cc
 | 
| @@ -1490,6 +1490,8 @@ void BackgroundCompiler::Run() {
 | 
|          ASSERT(error.IsNull());
 | 
|          temp_function = RemoveOrNull();
 | 
|          ASSERT(temp_function.raw() == function.raw());
 | 
| +        // Reset to 0 so that it can be recompiled if needed.
 | 
| +        function.set_usage_counter(0);
 | 
|          function = LastOrNull();
 | 
|        }
 | 
|      }
 | 
| 
 |