Index: src/compiler-dispatcher/optimizing-compile-dispatcher.h |
diff --git a/src/compiler-dispatcher/optimizing-compile-dispatcher.h b/src/compiler-dispatcher/optimizing-compile-dispatcher.h |
index 8c032ab3202c671a10b67b5f12b6955168fa4768..7e081615174236acf0b4046874ef0c1a4fb88e97 100644 |
--- a/src/compiler-dispatcher/optimizing-compile-dispatcher.h |
+++ b/src/compiler-dispatcher/optimizing-compile-dispatcher.h |
@@ -22,6 +22,8 @@ class SharedFunctionInfo; |
class OptimizingCompileDispatcher { |
public: |
+ enum class BlockingBehavior { kBlock, kDontBlock }; |
+ |
explicit OptimizingCompileDispatcher(Isolate* isolate) |
: isolate_(isolate), |
input_queue_capacity_(FLAG_concurrent_recompilation_queue_length), |
@@ -38,7 +40,7 @@ class OptimizingCompileDispatcher { |
void Run(); |
void Stop(); |
- void Flush(); |
+ void Flush(BlockingBehavior blocking_behavior); |
void QueueForOptimization(CompilationJob* job); |
void Unblock(); |
void InstallOptimizedFunctions(); |