Mercurial > hg > truffle
changeset 3539:6e806c373405
merge
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Wed, 10 Aug 2011 18:52:47 +0200 |
parents | e4616e3d207b (current diff) e54641d0d012 (diff) |
children | f3ce30df0218 |
files | |
diffstat | 2 files changed, 1 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/tools/IdealGraphVisualizer/Graal/src/com/sun/hotspot/igv/graal/GraalGraphToTextConverter.java Wed Aug 10 18:19:09 2011 +0200 +++ b/src/share/tools/IdealGraphVisualizer/Graal/src/com/sun/hotspot/igv/graal/GraalGraphToTextConverter.java Wed Aug 10 18:52:47 2011 +0200 @@ -122,8 +122,8 @@ // and for slots that are connected with multiple edges, by // from/to node - int succCount = Integer.parseInt(n.getProperties().get("successorCount")); InputEdge[] outgoing = outgoingEdges.get(n).toArray(new InputEdge[0]); + int succCount = outgoing.length - Integer.parseInt(n.getProperties().get("usageCount")); int i = 0; if (outgoing.length > 0 && outgoing[0].getFromIndex() < succCount) {
--- a/src/share/tools/IdealGraphVisualizer/Graal/src/com/sun/hotspot/igv/graal/filters/GraalEdgeColorFilter.java Wed Aug 10 18:19:09 2011 +0200 +++ b/src/share/tools/IdealGraphVisualizer/Graal/src/com/sun/hotspot/igv/graal/filters/GraalEdgeColorFilter.java Wed Aug 10 18:52:47 2011 +0200 @@ -70,22 +70,6 @@ } } } - for (Figure f : figures) { - Properties p = f.getProperties(); - int predCount = Integer.parseInt(p.get("predecessorCount")); - int inputCount = Integer.parseInt(p.get("inputCount")); - int variableInputCount = Integer.parseInt(p.get("variableInputCount")); - if (p.get("memoryCheckpoint") != null) { - for (InputSlot is : f.getInputSlots()) { - if (is.getPosition() > predCount + inputCount - variableInputCount) { - is.setColor(memoryColor); - for (Connection c : is.getConnections()) { - c.setColor(memoryColor); - } - } - } - } - } } public Color getUsageColor() {