diff src/share/vm/opto/node.hpp @ 14438:4cdf4f71177d

8029025: PPC64 (part 203): opto: Move static _in_dump_cnt to Compile object. Summary: Also introduces the compiler oracle 'option' feature for PrintAssembly. Reviewed-by: kvn
author goetz
date Fri, 22 Nov 2013 12:14:09 -0800
parents 044b28168e20
children cd5d10655495 62c54fcc0a35
line wrap: on
line diff
--- a/src/share/vm/opto/node.hpp	Thu Nov 21 19:00:57 2013 -0800
+++ b/src/share/vm/opto/node.hpp	Fri Nov 22 12:14:09 2013 -0800
@@ -1033,8 +1033,7 @@
   // RegMask Print Functions
   void dump_in_regmask(int idx) { in_RegMask(idx).dump(); }
   void dump_out_regmask() { out_RegMask().dump(); }
-  static int _in_dump_cnt;
-  static bool in_dump() { return _in_dump_cnt > 0; }
+  static bool in_dump() { return Compile::current()->_in_dump_cnt > 0; }
   void fast_dump() const {
     tty->print("%4d: %-17s", _idx, Name());
     for (uint i = 0; i < len(); i++)