Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/debug/GraphvizPrinterObserver.java @ 2809:b003ea36fa12
Add block structure to ideal graph visualizer
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Mon, 30 May 2011 14:55:09 +0200 |
parents | e1dad0edd57a |
children | 633e66de40fe |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/debug/GraphvizPrinterObserver.java Mon May 30 13:42:23 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/debug/GraphvizPrinterObserver.java Mon May 30 14:55:09 2011 +0200 @@ -57,8 +57,8 @@ } public void compilationEvent(CompilationEvent event) { - if (event.getStartBlock() != null && !TTY.isSuppressed()) { - Graph graph = event.getStartBlock().graph(); + if (event.getGraph() != null && !TTY.isSuppressed()) { + Graph graph = event.getGraph(); String name = event.getMethod().holder().name(); name = name.substring(1, name.length() - 1).replace('/', '.');