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 808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
819 int j = 0; | 819 int j = 0; |
820 for (Node* const i : n->inputs()) { | 820 for (Node* const i : n->inputs()) { |
821 if (j++ > 0) os << ", "; | 821 if (j++ > 0) os << ", "; |
822 os << "#" << SafeId(i) << ":" << SafeMnemonic(i); | 822 os << "#" << SafeId(i) << ":" << SafeMnemonic(i); |
823 } | 823 } |
824 os << ")" << std::endl; | 824 os << ")" << std::endl; |
825 } | 825 } |
826 } | 826 } |
827 return os; | 827 return os; |
828 } | 828 } |
829 } | 829 } // namespace compiler |
830 } | 830 } // namespace internal |
831 } // namespace v8::internal::compiler | 831 } // namespace v8 |
OLD | NEW |