Index: runtime/vm/precompiler.cc |
diff --git a/runtime/vm/precompiler.cc b/runtime/vm/precompiler.cc |
index 9a77d4a28faa21a9d28e1d9a35d5dcd90cd228a5..b08183f61e24311d317e37807c8d86b31215ba55 100644 |
--- a/runtime/vm/precompiler.cc |
+++ b/runtime/vm/precompiler.cc |
@@ -107,7 +107,7 @@ void Precompiler::ClearAllCode() { |
ClassDictionaryIterator it(lib, ClassDictionaryIterator::kIteratePrivate); |
while (it.HasNext()) { |
cls = it.GetNextClass(); |
- error_ = cls.EnsureIsFinalized(I); |
+ error_ = cls.EnsureIsFinalized(thread_); |
if (!error_.IsNull()) { |
Jump(error_); |
} |