Mercurial > hg > truffle
diff src/share/vm/opto/parse.hpp @ 3939:f6f3bb0ee072
7088955: add C2 IR support to the SA
Reviewed-by: kvn
author | never |
---|---|
date | Sun, 11 Sep 2011 14:48:24 -0700 |
parents | a32de5085326 |
children | 8f6ce6f1049b |
line wrap: on
line diff
--- a/src/share/vm/opto/parse.hpp Sat Sep 10 17:29:02 2011 -0700 +++ b/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; };