comparison graal/GraalCompiler/src/com/sun/c1x/debug/IdealGraphPrinter.java @ 2698:b179be22a3db

Allow to submit graphs to IdealGraphVisualizer remotely with new options named after their counterparts in C2
author Peter Hofer <peter.hofer@jku.at>
date Wed, 18 May 2011 15:01:43 +0200
parents 79590d6b4a7c
children 39a9d62e4c60
comparison
equal deleted inserted replaced
2697:bd4c3be86fb7 2698:b179be22a3db
61 public void addOmittedClass(Class<?> clazz) { 61 public void addOmittedClass(Class<?> clazz) {
62 omittedClasses.add(clazz); 62 omittedClasses.add(clazz);
63 } 63 }
64 64
65 /** 65 /**
66 * Flushes any buffered output.
67 */
68 public void flush() {
69 stream.flush();
70 }
71
72 /**
66 * Starts a new graph document. 73 * Starts a new graph document.
67 */ 74 */
68 public void begin() { 75 public void begin() {
69 stream.println("<graphDocument>"); 76 stream.println("<graphDocument>");
70 } 77 }
88 /** 95 /**
89 * Finishes the graph document and flushes the output stream. 96 * Finishes the graph document and flushes the output stream.
90 */ 97 */
91 public void end() { 98 public void end() {
92 stream.println("</graphDocument>"); 99 stream.println("</graphDocument>");
93 stream.flush(); 100 flush();
94 } 101 }
95 102
96 /** 103 /**
97 * Prints an entire {@link Graph} with the specified title, optionally using short names for nodes. 104 * Prints an entire {@link Graph} with the specified title, optionally using short names for nodes.
98 */ 105 */