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