| Index: runtime/vm/object.cc
|
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
|
| index 0f2b324179effa9eead4e186d9d46bd8eb43beb4..8fe6d6f34104adc2a8a6243d9d17f5fc0e0c51c1 100644
|
| --- a/runtime/vm/object.cc
|
| +++ b/runtime/vm/object.cc
|
| @@ -3117,6 +3117,7 @@ RawError* Class::EnsureIsFinalized(Thread* thread) const {
|
| if (is_finalized()) {
|
| return Error::null();
|
| }
|
| + ASSERT(thread->IsMutatorThread());
|
| ASSERT(thread != NULL);
|
| const Error& error = Error::Handle(
|
| thread->zone(), Compiler::CompileClass(*this));
|
|
|