| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_GRAPH_VISUALIZER_H_ | 5 #ifndef V8_COMPILER_GRAPH_VISUALIZER_H_ |
| 6 #define V8_COMPILER_GRAPH_VISUALIZER_H_ | 6 #define V8_COMPILER_GRAPH_VISUALIZER_H_ |
| 7 | 7 |
| 8 #include <stdio.h> | 8 #include <stdio.h> |
| 9 #include <iosfwd> | 9 #include <iosfwd> |
| 10 | 10 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 | 42 |
| 43 struct AsC1VCompilation { | 43 struct AsC1VCompilation { |
| 44 explicit AsC1VCompilation(const CompilationInfo* info) : info_(info) {} | 44 explicit AsC1VCompilation(const CompilationInfo* info) : info_(info) {} |
| 45 const CompilationInfo* info_; | 45 const CompilationInfo* info_; |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 | 48 |
| 49 struct AsC1V { | 49 struct AsC1V { |
| 50 AsC1V(const char* phase, const Schedule* schedule, | 50 AsC1V(const char* phase, const Schedule* schedule, |
| 51 const SourcePositionTable* positions = NULL, | 51 const SourcePositionTable* positions = nullptr, |
| 52 const InstructionSequence* instructions = NULL) | 52 const InstructionSequence* instructions = nullptr) |
| 53 : schedule_(schedule), | 53 : schedule_(schedule), |
| 54 instructions_(instructions), | 54 instructions_(instructions), |
| 55 positions_(positions), | 55 positions_(positions), |
| 56 phase_(phase) {} | 56 phase_(phase) {} |
| 57 const Schedule* schedule_; | 57 const Schedule* schedule_; |
| 58 const InstructionSequence* instructions_; | 58 const InstructionSequence* instructions_; |
| 59 const SourcePositionTable* positions_; | 59 const SourcePositionTable* positions_; |
| 60 const char* phase_; | 60 const char* phase_; |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 struct AsC1VRegisterAllocationData { | 63 struct AsC1VRegisterAllocationData { |
| 64 explicit AsC1VRegisterAllocationData( | 64 explicit AsC1VRegisterAllocationData( |
| 65 const char* phase, const RegisterAllocationData* data = nullptr) | 65 const char* phase, const RegisterAllocationData* data = nullptr) |
| 66 : phase_(phase), data_(data) {} | 66 : phase_(phase), data_(data) {} |
| 67 const char* phase_; | 67 const char* phase_; |
| 68 const RegisterAllocationData* data_; | 68 const RegisterAllocationData* data_; |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 std::ostream& operator<<(std::ostream& os, const AsC1VCompilation& ac); | 71 std::ostream& operator<<(std::ostream& os, const AsC1VCompilation& ac); |
| 72 std::ostream& operator<<(std::ostream& os, const AsC1V& ac); | 72 std::ostream& operator<<(std::ostream& os, const AsC1V& ac); |
| 73 std::ostream& operator<<(std::ostream& os, | 73 std::ostream& operator<<(std::ostream& os, |
| 74 const AsC1VRegisterAllocationData& ac); | 74 const AsC1VRegisterAllocationData& ac); |
| 75 | 75 |
| 76 } // namespace compiler | 76 } // namespace compiler |
| 77 } // namespace internal | 77 } // namespace internal |
| 78 } // namespace v8 | 78 } // namespace v8 |
| 79 | 79 |
| 80 #endif // V8_COMPILER_GRAPH_VISUALIZER_H_ | 80 #endif // V8_COMPILER_GRAPH_VISUALIZER_H_ |
| OLD | NEW |