| 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 #include "src/compiler/graph-visualizer.h" | 5 #include "src/compiler/graph-visualizer.h" |
| 6 | 6 |
| 7 #include <sstream> | 7 #include <sstream> |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
| (...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 667 } | 667 } |
| 668 os_ << " <|@\n"; | 668 os_ << " <|@\n"; |
| 669 } | 669 } |
| 670 } | 670 } |
| 671 | 671 |
| 672 if (instructions != NULL) { | 672 if (instructions != NULL) { |
| 673 Tag LIR_tag(this, "LIR"); | 673 Tag LIR_tag(this, "LIR"); |
| 674 for (int j = instruction_block->first_instruction_index(); | 674 for (int j = instruction_block->first_instruction_index(); |
| 675 j <= instruction_block->last_instruction_index(); j++) { | 675 j <= instruction_block->last_instruction_index(); j++) { |
| 676 PrintIndent(); | 676 PrintIndent(); |
| 677 PrintableInstruction printable = {RegisterConfiguration::ArchDefault(), | 677 PrintableInstruction printable = { |
| 678 instructions->InstructionAt(j)}; | 678 RegisterConfiguration::ArchDefault(RegisterConfiguration::TURBOFAN), |
| 679 instructions->InstructionAt(j)}; |
| 679 os_ << j << " " << printable << " <|@\n"; | 680 os_ << j << " " << printable << " <|@\n"; |
| 680 } | 681 } |
| 681 } | 682 } |
| 682 } | 683 } |
| 683 } | 684 } |
| 684 | 685 |
| 685 | 686 |
| 686 void GraphC1Visualizer::PrintLiveRanges(const char* phase, | 687 void GraphC1Visualizer::PrintLiveRanges(const char* phase, |
| 687 const RegisterAllocationData* data) { | 688 const RegisterAllocationData* data) { |
| 688 Tag tag(this, "intervals"); | 689 Tag tag(this, "intervals"); |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 820 os << "#" << SafeId(i) << ":" << SafeMnemonic(i); | 821 os << "#" << SafeId(i) << ":" << SafeMnemonic(i); |
| 821 } | 822 } |
| 822 os << ")" << std::endl; | 823 os << ")" << std::endl; |
| 823 } | 824 } |
| 824 } | 825 } |
| 825 return os; | 826 return os; |
| 826 } | 827 } |
| 827 } // namespace compiler | 828 } // namespace compiler |
| 828 } // namespace internal | 829 } // namespace internal |
| 829 } // namespace v8 | 830 } // namespace v8 |
| OLD | NEW |