Mercurial > hg > graal-compiler
changeset 19988:5f15e5f844d6
IGV: fix bug in layout node comparator
author | Andreas Woess <andreas.woess@oracle.com> |
---|---|
date | Sat, 21 Mar 2015 23:47:30 +0100 |
parents | 414c068bd862 |
children | 9912bc54ec0f |
files | src/share/tools/IdealGraphVisualizer/HierarchicalLayout/src/com/sun/hotspot/igv/hierarchicallayout/HierarchicalLayoutManager.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/tools/IdealGraphVisualizer/HierarchicalLayout/src/com/sun/hotspot/igv/hierarchicallayout/HierarchicalLayoutManager.java Sat Mar 21 15:41:55 2015 +0100 +++ b/src/share/tools/IdealGraphVisualizer/HierarchicalLayout/src/com/sun/hotspot/igv/hierarchicallayout/HierarchicalLayoutManager.java Sat Mar 21 23:47:30 2015 +0100 @@ -526,7 +526,7 @@ } } int n2VIP = 0; - for (LayoutEdge e : n1.preds) { + for (LayoutEdge e : n2.preds) { if (e.vip) { n2VIP++; } @@ -563,7 +563,7 @@ } } int n2VIP = 0; - for (LayoutEdge e : n1.succs) { + for (LayoutEdge e : n2.succs) { if (e.vip) { n2VIP++; }