hotspot/src/share/vm/opto/callGenerator.hpp
changeset 20073 bfc95277d42b
parent 19696 bd5a0131bde1
child 20296 bc70e1c29125
--- a/hotspot/src/share/vm/opto/callGenerator.hpp	Tue Sep 24 15:56:25 2013 +0200
+++ b/hotspot/src/share/vm/opto/callGenerator.hpp	Tue Sep 24 16:08:00 2013 -0700
@@ -159,8 +159,9 @@
   virtual void print_inlining_late(const char* msg) { ShouldNotReachHere(); }
 
   static void print_inlining(Compile* C, ciMethod* callee, int inline_level, int bci, const char* msg) {
-    if (PrintInlining)
+    if (C->print_inlining()) {
       C->print_inlining(callee, inline_level, bci, msg);
+    }
   }
 };