Index: runtime/vm/gc_marker.cc |
diff --git a/runtime/vm/gc_marker.cc b/runtime/vm/gc_marker.cc |
index 45e84d25fad6cbfde8a4ce603f56865a5cdd0607..fbe5af37e911bd2fa6ccc3b12f878f8c0412b7ce 100644 |
--- a/runtime/vm/gc_marker.cc |
+++ b/runtime/vm/gc_marker.cc |
@@ -595,7 +595,8 @@ class MarkTask : public ThreadPool::Task { |
} |
virtual void Run() { |
- Thread::EnterIsolateAsHelper(isolate_, true); |
+ bool result = Thread::EnterIsolateAsHelper(isolate_, true); |
+ ASSERT(result); |
{ |
StackZone stack_zone(Thread::Current()); |
Zone* zone = stack_zone.GetZone(); |