Mercurial > hg > graal-compiler
diff visualizer/Graal/src/com/sun/hotspot/igv/graal/filters/GraalEdgeColorFilter.java @ 4573:24d9f3310ed6
Visualizer: Fix edge tooltip showing wrong node ids. GraalEdgeColorFilter: Don't change style of dashed lines.
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Sun, 12 Feb 2012 23:21:54 +0100 |
parents | 015fb895586b |
children |
line wrap: on
line diff
--- a/visualizer/Graal/src/com/sun/hotspot/igv/graal/filters/GraalEdgeColorFilter.java Sat Feb 11 23:35:44 2012 +0100 +++ b/visualizer/Graal/src/com/sun/hotspot/igv/graal/filters/GraalEdgeColorFilter.java Sun Feb 12 23:21:54 2012 +0100 @@ -35,7 +35,7 @@ /** * Filter that colors usage and successor edges differently. - * + * * @author Peter Hofer */ public class GraalEdgeColorFilter extends AbstractFilter { @@ -77,7 +77,9 @@ for (Connection c : is.getConnections()) { if (c.getLabel() == null || !c.getLabel().endsWith("#NDF")) { c.setColor(color); - c.setStyle(style); + if (c.getStyle() != ConnectionStyle.DASHED) { + c.setStyle(style); + } } else if ("EndNode".equals(c.getOutputSlot().getFigure().getProperties().get("class")) || "EndNode".equals(c.getOutputSlot().getProperties().get("class"))) { c.setColor(successorColor);