OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_COMPILER_PIPELINE_H_ | 5 #ifndef V8_COMPILER_PIPELINE_H_ |
6 #define V8_COMPILER_PIPELINE_H_ | 6 #define V8_COMPILER_PIPELINE_H_ |
7 | 7 |
8 #include <fstream> // NOLINT(readability/streams) | 8 #include <fstream> // NOLINT(readability/streams) |
9 | 9 |
10 #include "src/v8.h" | 10 #include "src/v8.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 54 |
55 Schedule* ComputeSchedule(ZonePool* zone_pool, Graph* graph); | 55 Schedule* ComputeSchedule(ZonePool* zone_pool, Graph* graph); |
56 void OpenTurboCfgFile(std::ofstream* stream); | 56 void OpenTurboCfgFile(std::ofstream* stream); |
57 void PrintCompilationStart(); | 57 void PrintCompilationStart(); |
58 void PrintScheduleAndInstructions(const char* phase, const Schedule* schedule, | 58 void PrintScheduleAndInstructions(const char* phase, const Schedule* schedule, |
59 const SourcePositionTable* positions, | 59 const SourcePositionTable* positions, |
60 const InstructionSequence* instructions); | 60 const InstructionSequence* instructions); |
61 void PrintAllocator(const char* phase, const RegisterAllocator* allocator); | 61 void PrintAllocator(const char* phase, const RegisterAllocator* allocator); |
62 void VerifyAndPrintGraph(Graph* graph, const char* phase, | 62 void VerifyAndPrintGraph(Graph* graph, const char* phase, |
63 bool untyped = false); | 63 bool untyped = false); |
64 Handle<Code> GenerateCode(Linkage* linkage, Graph* graph, Schedule* schedule, | 64 Handle<Code> GenerateCode(ZonePool* zone_pool, Linkage* linkage, Graph* graph, |
| 65 Schedule* schedule, |
65 SourcePositionTable* source_positions); | 66 SourcePositionTable* source_positions); |
66 }; | 67 }; |
67 } | 68 } |
68 } | 69 } |
69 } // namespace v8::internal::compiler | 70 } // namespace v8::internal::compiler |
70 | 71 |
71 #endif // V8_COMPILER_PIPELINE_H_ | 72 #endif // V8_COMPILER_PIPELINE_H_ |
OLD | NEW |