| Index: runtime/vm/dart_entry.cc
|
| diff --git a/runtime/vm/dart_entry.cc b/runtime/vm/dart_entry.cc
|
| index 5b6e28f85f42df985091dcb799b2c9014419941c..63e2689a3555afa358fefb76ae8dc6289a2887f8 100644
|
| --- a/runtime/vm/dart_entry.cc
|
| +++ b/runtime/vm/dart_entry.cc
|
| @@ -24,6 +24,7 @@ RawArray* ArgumentsDescriptor::cached_args_descriptors_[kCachedDescriptorCount];
|
|
|
| RawObject* DartEntry::InvokeFunction(const Function& function,
|
| const Array& arguments) {
|
| + ASSERT(Thread::Current()->IsMutatorThread());
|
| const Array& arguments_descriptor =
|
| Array::Handle(ArgumentsDescriptor::New(arguments.Length()));
|
| return InvokeFunction(function, arguments, arguments_descriptor);
|
|
|