changeset 18872:7735bac1f781

Truffle: IGV printer nodeMap should be IdentityHashMap
author Andreas Woess <andreas.woess@jku.at>
date Thu, 15 Jan 2015 13:56:34 +0100
parents d493f179ef76
children 9f85ac52d521
files graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/GraphPrintVisitor.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/GraphPrintVisitor.java	Thu Jan 15 08:24:43 2015 +0100
+++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/GraphPrintVisitor.java	Thu Jan 15 13:56:34 2015 +0100
@@ -118,7 +118,7 @@
 
         // save old nodes
         prevNodeMap = nodeMap;
-        nodeMap = new HashMap<>();
+        nodeMap = new IdentityHashMap<>();
         edgeList = new ArrayList<>();
 
         return this;