Index: runtime/vm/compiler.cc |
diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc |
index 64874fcc4d5fc30fa9244ca1142364d1da858bd9..cad89e5569697eeabd475731d0f0e6f0a445b1ec 100644 |
--- a/runtime/vm/compiler.cc |
+++ b/runtime/vm/compiler.cc |
@@ -1778,10 +1778,12 @@ void BackgroundCompiler::EnsureInit(Thread* thread) { |
// compilation. |
Class& cls = Class::Handle(thread->zone(), |
Library::LookupCoreClass(Symbols::NoSuchMethodError())); |
+ ASSERT(!cls.IsNull()); |
Error& error = Error::Handle(thread->zone(), |
cls.EnsureIsFinalized(thread)); |
ASSERT(error.IsNull()); |
cls = Library::LookupCoreClass(Symbols::_Mint()); |
+ ASSERT(!cls.IsNull()); |
error = cls.EnsureIsFinalized(thread); |
ASSERT(error.IsNull()); |