diff options
Diffstat (limited to 'chromium/v8/src/compiler/graph-visualizer.h')
| -rw-r--r-- | chromium/v8/src/compiler/graph-visualizer.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/chromium/v8/src/compiler/graph-visualizer.h b/chromium/v8/src/compiler/graph-visualizer.h index 05f522b6bca..55859330157 100644 --- a/chromium/v8/src/compiler/graph-visualizer.h +++ b/chromium/v8/src/compiler/graph-visualizer.h @@ -22,6 +22,8 @@ class SourcePosition; namespace compiler { class Graph; +class LiveRange; +class TopLevelLiveRange; class Instruction; class InstructionBlock; class InstructionOperand; @@ -155,6 +157,30 @@ std::ostream& operator<<(std::ostream& os, const AsC1V& ac); std::ostream& operator<<(std::ostream& os, const AsC1VRegisterAllocationData& ac); +struct LiveRangeAsJSON { + const LiveRange& range_; + const InstructionSequence& code_; +}; + +std::ostream& operator<<(std::ostream& os, + const LiveRangeAsJSON& live_range_json); + +struct TopLevelLiveRangeAsJSON { + const TopLevelLiveRange& range_; + const InstructionSequence& code_; +}; + +std::ostream& operator<<( + std::ostream& os, const TopLevelLiveRangeAsJSON& top_level_live_range_json); + +struct RegisterAllocationDataAsJSON { + const RegisterAllocationData& data_; + const InstructionSequence& code_; +}; + +std::ostream& operator<<(std::ostream& os, + const RegisterAllocationDataAsJSON& ac); + struct InstructionOperandAsJSON { const InstructionOperand* op_; const InstructionSequence* code_; |
