hotspot/src/share/vm/opto/doCall.cpp
changeset 20073 bfc95277d42b
parent 17383 3665c0901a0d
child 20296 bc70e1c29125
--- a/hotspot/src/share/vm/opto/doCall.cpp	Tue Sep 24 15:56:25 2013 +0200
+++ b/hotspot/src/share/vm/opto/doCall.cpp	Tue Sep 24 16:08:00 2013 -0700
@@ -41,9 +41,9 @@
 #include "runtime/sharedRuntime.hpp"
 
 void trace_type_profile(Compile* C, ciMethod *method, int depth, int bci, ciMethod *prof_method, ciKlass *prof_klass, int site_count, int receiver_count) {
-  if (TraceTypeProfile || PrintInlining NOT_PRODUCT(|| PrintOptoInlining)) {
+  if (TraceTypeProfile || C->print_inlining()) {
     outputStream* out = tty;
-    if (!PrintInlining) {
+    if (!C->print_inlining()) {
       if (NOT_PRODUCT(!PrintOpto &&) !PrintCompilation) {
         method->print_short_name();
         tty->cr();