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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 Isolate* isolate() { return info_->isolate(); } | 51 Isolate* isolate() { return info_->isolate(); } |
52 Zone* zone() { return info_->zone(); } | 52 Zone* zone() { return info_->zone(); } |
53 | 53 |
54 Schedule* ComputeSchedule(Graph* graph); | 54 Schedule* ComputeSchedule(Graph* graph); |
55 void OpenTurboCfgFile(std::ofstream* stream); | 55 void OpenTurboCfgFile(std::ofstream* stream); |
56 void PrintCompilationStart(); | 56 void PrintCompilationStart(); |
57 void PrintScheduleAndInstructions(const char* phase, const Schedule* schedule, | 57 void PrintScheduleAndInstructions(const char* phase, const Schedule* schedule, |
58 const SourcePositionTable* positions, | 58 const SourcePositionTable* positions, |
59 const InstructionSequence* instructions); | 59 const InstructionSequence* instructions); |
60 void PrintAllocator(const char* phase, const RegisterAllocator* allocator); | 60 void PrintAllocator(const char* phase, const RegisterAllocator* allocator); |
61 void VerifyAndPrintGraph(Graph* graph, const char* phase); | 61 void VerifyAndPrintGraph(Graph* graph, const char* phase, |
| 62 bool untyped = false); |
62 Handle<Code> GenerateCode(Linkage* linkage, Graph* graph, Schedule* schedule, | 63 Handle<Code> GenerateCode(Linkage* linkage, Graph* graph, Schedule* schedule, |
63 SourcePositionTable* source_positions); | 64 SourcePositionTable* source_positions); |
64 }; | 65 }; |
65 } | 66 } |
66 } | 67 } |
67 } // namespace v8::internal::compiler | 68 } // namespace v8::internal::compiler |
68 | 69 |
69 #endif // V8_COMPILER_PIPELINE_H_ | 70 #endif // V8_COMPILER_PIPELINE_H_ |
OLD | NEW |