Index: runtime/vm/compiler.cc |
diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc |
index 17edba21304752b57196c29c0145413142377cbf..a653a7db208686fc303e3de0abdcd8433a3abd6e 100644 |
--- a/runtime/vm/compiler.cc |
+++ b/runtime/vm/compiler.cc |
@@ -1754,7 +1754,8 @@ void BackgroundCompiler::Run() { |
while (running_) { |
// Maybe something is already in the queue, check first before waiting |
// to be notified. |
- Thread::EnterIsolateAsHelper(isolate_); |
+ bool result = Thread::EnterIsolateAsHelper(isolate_); |
+ ASSERT(result); |
{ |
Thread* thread = Thread::Current(); |
StackZone stack_zone(thread); |