| Index: runtime/vm/compiler.h
|
| diff --git a/runtime/vm/compiler.h b/runtime/vm/compiler.h
|
| index 4e2a5503ab1a3c610bc9cf2d39ccf050865d26ee..4d5a34def3fa3fcb157d454acdb33720868483cf 100644
|
| --- a/runtime/vm/compiler.h
|
| +++ b/runtime/vm/compiler.h
|
| @@ -163,8 +163,15 @@ class BackgroundCompiler : public ThreadPool::Task {
|
| static void EnsureInit(Thread* thread);
|
|
|
| // Stops background compiler of the given isolate.
|
| + // TODO(turnidge): Give Stop and Disable more distinct names.
|
| static void Stop(Isolate* isolate);
|
|
|
| + static void Disable();
|
| +
|
| + static void Enable();
|
| +
|
| + static bool IsDisabled();
|
| +
|
| // Call to optimize a function in the background, enters the function in the
|
| // compilation queue.
|
| void CompileOptimized(const Function& function);
|
|
|