hotspot/src/share/vm/opto/idealGraphPrinter.cpp
changeset 22854 2787e48d6df9
parent 20716 5093ad743df4
child 24424 2658d7834c6e
--- a/hotspot/src/share/vm/opto/idealGraphPrinter.cpp	Thu Nov 21 19:00:57 2013 -0800
+++ b/hotspot/src/share/vm/opto/idealGraphPrinter.cpp	Fri Nov 22 12:14:09 2013 -0800
@@ -404,7 +404,7 @@
 
     Node *node = n;
 #ifndef PRODUCT
-    node->_in_dump_cnt++;
+    Compile::current()->_in_dump_cnt++;
     print_prop(NODE_NAME_PROPERTY, (const char *)node->Name());
     const Type *t = node->bottom_type();
     print_prop("type", t->msg());
@@ -623,7 +623,7 @@
       print_prop("lrg", lrg_id);
     }
 
-    node->_in_dump_cnt--;
+    Compile::current()->_in_dump_cnt--;
 #endif
 
     tail(PROPERTIES_ELEMENT);