Index: runtime/vm/compiler.h |
diff --git a/runtime/vm/compiler.h b/runtime/vm/compiler.h |
index d226ccb92a9255002309e1510925e2e9e3bba77d..2f2eb1c5e64ea94f439428ba77d9959460e31e50 100644 |
--- a/runtime/vm/compiler.h |
+++ b/runtime/vm/compiler.h |
@@ -161,7 +161,8 @@ class BackgroundCompiler : public ThreadPool::Task { |
static void EnsureInit(Thread* thread); |
- static void Stop(BackgroundCompiler* task); |
+ // Stops background compiler of the given isolate. |
+ static void Stop(Isolate* isolate); |
// Call to optimize a function in the background, enters the function in the |
// compilation queue. |