Index: runtime/vm/runtime_entry.cc |
diff --git a/runtime/vm/runtime_entry.cc b/runtime/vm/runtime_entry.cc |
index 99d4c2866ef907fbde29e1f4cadf9446910485cb..6a74969c65c8c5a2f77d613d95db1a0fdd9f2632 100644 |
--- a/runtime/vm/runtime_entry.cc |
+++ b/runtime/vm/runtime_entry.cc |
@@ -96,8 +96,6 @@ DEFINE_FLAG(charp, |
void VerifyOnTransition() { |
Thread* thread = Thread::Current(); |
TransitionGeneratedToVM transition(thread); |
- thread->isolate()->heap()->WaitForSweeperTasks(thread); |
- SafepointOperationScope safepoint_scope(thread); |
VerifyPointersVisitor::VerifyPointers(); |
thread->isolate()->heap()->Verify(); |
} |