| Index: runtime/vm/os_thread.h
|
| diff --git a/runtime/vm/os_thread.h b/runtime/vm/os_thread.h
|
| index 78580ec834df9f7fec17b779199ed28cfc31060f..d6ae2b53481a231485383a50cc8504b857c0af3c 100644
|
| --- a/runtime/vm/os_thread.h
|
| +++ b/runtime/vm/os_thread.h
|
| @@ -74,7 +74,12 @@ class Mutex {
|
| bool IsOwnedByCurrentThread() const {
|
| return owner_ == OSThread::GetCurrentThreadId();
|
| }
|
| -#endif // defined(DEBUG)
|
| +#else
|
| + bool IsOwnedByCurrentThread() const {
|
| + UNREACHABLE();
|
| + return false;
|
| + }
|
| +#endif
|
|
|
| private:
|
| MutexData data_;
|
|
|