diff 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
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/debug/IdealGraphPrinter.java	Wed May 18 15:14:55 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/debug/IdealGraphPrinter.java	Wed May 18 15:01:43 2011 +0200
@@ -63,6 +63,13 @@
     }
 
     /**
+     * Flushes any buffered output.
+     */
+    public void flush() {
+        stream.flush();
+    }
+
+    /**
      * Starts a new graph document.
      */
     public void begin() {
@@ -90,7 +97,7 @@
      */
     public void end() {
         stream.println("</graphDocument>");
-        stream.flush();
+        flush();
     }
 
     /**