Index: runtime/vm/compiler.cc |
diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc |
index d8c0496658fccd64b0b8bcdefec154ff9ace137d..408f60559d8b15858143f9391885dd4d79159a33 100644 |
--- a/runtime/vm/compiler.cc |
+++ b/runtime/vm/compiler.cc |
@@ -1652,7 +1652,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(); |