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