Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(834)

Unified Diff: runtime/vm/compiler.h

Issue 1965823002: Initial isolate reload support (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/compiler.h
diff --git a/runtime/vm/compiler.h b/runtime/vm/compiler.h
index e995620ba4fc8475fca5bb25fd9cda9d22a147a9..1e8e3fc5be880b296ed01b1162daca8c9edc28c4 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);

Powered by Google App Engine
This is Rietveld 408576698