Index: runtime/vm/gc_sweeper.cc |
diff --git a/runtime/vm/gc_sweeper.cc b/runtime/vm/gc_sweeper.cc |
index 6332dee9a4f882bf18d296c2e714056be617c6ee..a192138b4c6f5a72ddf92f2360cb4ea8c7ded1e4 100644 |
--- a/runtime/vm/gc_sweeper.cc |
+++ b/runtime/vm/gc_sweeper.cc |
@@ -114,7 +114,8 @@ class SweeperTask : public ThreadPool::Task { |
} |
virtual void Run() { |
- Thread::EnterIsolateAsHelper(task_isolate_); |
+ bool result = Thread::EnterIsolateAsHelper(task_isolate_); |
+ ASSERT(result); |
GCSweeper sweeper; |
HeapPage* page = first_; |