Index: src/compiler/pipeline.h |
diff --git a/src/compiler/pipeline.h b/src/compiler/pipeline.h |
index 9f8241a63c4ee4984f2f261f333a6447ce849c09..f47c3c1284d3ae7cfaa6fa96795e2a165840afe3 100644 |
--- a/src/compiler/pipeline.h |
+++ b/src/compiler/pipeline.h |
@@ -5,6 +5,8 @@ |
#ifndef V8_COMPILER_PIPELINE_H_ |
#define V8_COMPILER_PIPELINE_H_ |
+#include <fstream> // NOLINT(readability/streams) |
+ |
#include "src/v8.h" |
#include "src/compiler.h" |
@@ -18,9 +20,11 @@ namespace compiler { |
// Clients of this interface shouldn't depend on lots of compiler internals. |
class Graph; |
+class InstructionSequence; |
+class Linkage; |
+class RegisterAllocator; |
class Schedule; |
class SourcePositionTable; |
-class Linkage; |
class Pipeline { |
public: |
@@ -48,6 +52,12 @@ class Pipeline { |
Zone* zone() { return info_->zone(); } |
Schedule* ComputeSchedule(Graph* graph); |
+ void OpenTurboCfgFile(std::ofstream* stream); |
+ void PrintCompilationStart(); |
+ void PrintScheduleAndInstructions(const char* phase, const Schedule* schedule, |
+ const SourcePositionTable* positions, |
+ const InstructionSequence* instructions); |
+ void PrintAllocator(const char* phase, const RegisterAllocator* allocator); |
void VerifyAndPrintGraph(Graph* graph, const char* phase); |
Handle<Code> GenerateCode(Linkage* linkage, Graph* graph, Schedule* schedule, |
SourcePositionTable* source_positions); |