| Index: runtime/vm/compiler.cc
|
| diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc
|
| index 43bbcbafdf6989103e9953a9832403cccc626754..def329154eb469694d1237c4e494931860da7c2f 100644
|
| --- a/runtime/vm/compiler.cc
|
| +++ b/runtime/vm/compiler.cc
|
| @@ -266,6 +266,7 @@ static void AddRelatedClassesToList(
|
|
|
|
|
| RawError* Compiler::CompileClass(const Class& cls) {
|
| + ASSERT(Thread::Current()->IsMutatorThread());
|
| // If class is a top level class it is already parsed.
|
| if (cls.IsTopLevel()) {
|
| return Error::null();
|
|
|