Index: src/compiler/pipeline.h |
diff --git a/src/compiler/pipeline.h b/src/compiler/pipeline.h |
index edb8191862141604e5d0a6d52fa7eff23173c003..e22c1db269456bebb6a29e7e276952fdccaab089 100644 |
--- a/src/compiler/pipeline.h |
+++ b/src/compiler/pipeline.h |
@@ -13,6 +13,7 @@ namespace v8 { |
namespace internal { |
class CompilationInfo; |
+class OptimizedCompileJob; |
class RegisterConfiguration; |
namespace compiler { |
@@ -26,7 +27,7 @@ class Schedule; |
class Pipeline { |
public: |
- explicit Pipeline(CompilationInfo* info) : info_(info) {} |
+ explicit Pipeline(CompilationInfo* info) : info_(info), data_(nullptr) {} |
// Run the entire pipeline and generate a handle to a code object. |
Handle<Code> GenerateCode(); |
@@ -57,6 +58,9 @@ class Pipeline { |
Graph* graph, |
Schedule* schedule = nullptr); |
+ // Returns a new compilation job for the given compilation info. |
+ static OptimizedCompileJob* NewCompilationJob(CompilationInfo* info); |
+ |
private: |
// Helpers for executing pipeline phases. |
template <typename Phase> |