hotspot/src/share/vm/opto/parse.hpp
changeset 10547 ea4a2ec31ae2
parent 10509 43d670e5701e
child 12945 e63d6176cbd1
--- a/hotspot/src/share/vm/opto/parse.hpp	Sat Sep 10 17:29:02 2011 -0700
+++ b/hotspot/src/share/vm/opto/parse.hpp	Sun Sep 11 14:48:24 2011 -0700
@@ -41,6 +41,8 @@
 
 //------------------------------InlineTree-------------------------------------
 class InlineTree : public ResourceObj {
+  friend class VMStructs;
+
   Compile*    C;                  // cache
   JVMState*   _caller_jvms;       // state of caller
   ciMethod*   _method;            // method being called by the caller_jvms
@@ -54,7 +56,8 @@
   float compute_callee_frequency( int caller_bci ) const;
 
   GrowableArray<InlineTree*> _subtrees;
-  friend class Compile;
+
+  void print_impl(outputStream* stj, int indent) const PRODUCT_RETURN;
 
 protected:
   InlineTree(Compile* C,
@@ -121,6 +124,8 @@
   uint        count_inlines()     const { return _count_inlines; };
 #endif
   GrowableArray<InlineTree*> subtrees() { return _subtrees; }
+
+  void print_value_on(outputStream* st) const PRODUCT_RETURN;
 };