| Index: runtime/vm/weak_code.cc
|
| diff --git a/runtime/vm/weak_code.cc b/runtime/vm/weak_code.cc
|
| index 8a4343e6c39bcbce486fb3a576364ca26d43076a..b7a2dda42830ff0f6412c54d80c0af30c4e64077 100644
|
| --- a/runtime/vm/weak_code.cc
|
| +++ b/runtime/vm/weak_code.cc
|
| @@ -115,7 +115,7 @@ void WeakCodeReferences::DisableCode() {
|
| function.SwitchToUnoptimizedCode();
|
| } else if (function.unoptimized_code() == code.raw()) {
|
| ReportSwitchingCode(code);
|
| - function.set_was_compiled(false);
|
| + function.SetWasCompiled(false);
|
| function.ClearICDataArray();
|
| // Remove the code object from the function. The next time the
|
| // function is invoked, it will be compiled again.
|
|
|