Mercurial > hg > graal-compiler
diff src/share/vm/opto/idealGraphPrinter.cpp @ 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 | 90abdd727e64 |
children | 4ca6dc0799b6 78bbf4d43a14 |
line wrap: on
line diff
--- a/src/share/vm/opto/idealGraphPrinter.cpp Thu Nov 21 19:00:57 2013 -0800 +++ b/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);