Index: runtime/vm/virtual_memory_win.cc |
diff --git a/runtime/vm/virtual_memory_win.cc b/runtime/vm/virtual_memory_win.cc |
index 8ea8fa52cb12255e9a7749a9fe63e1c590aa427d..25846136a996007789204103b8fc3aba808b33ed 100644 |
--- a/runtime/vm/virtual_memory_win.cc |
+++ b/runtime/vm/virtual_memory_win.cc |
@@ -66,7 +66,6 @@ bool VirtualMemory::Commit(uword addr, intptr_t size, bool executable) { |
bool VirtualMemory::Protect(void* address, intptr_t size, Protection mode) { |
ASSERT(Thread::Current()->IsMutatorThread() || |
- !Isolate::Current()->HasMutatorThread() || |
Isolate::Current()->mutator_thread()->IsAtSafepoint()); |
uword start_address = reinterpret_cast<uword>(address); |
uword end_address = start_address + size; |