1.1 --- a/src/share/vm/opto/parse.hpp Fri Oct 18 12:15:32 2013 -0700 1.2 +++ b/src/share/vm/opto/parse.hpp Sat Oct 19 12:16:43 2013 +0200 1.3 @@ -349,13 +349,15 @@ 1.4 int _est_switch_depth; // Debugging SwitchRanges. 1.5 #endif 1.6 1.7 + // parser for the caller of the method of this object 1.8 + Parse* const _parent; 1.9 + 1.10 public: 1.11 // Constructor 1.12 - Parse(JVMState* caller, ciMethod* parse_method, float expected_uses); 1.13 + Parse(JVMState* caller, ciMethod* parse_method, float expected_uses, Parse* parent); 1.14 1.15 virtual Parse* is_Parse() const { return (Parse*)this; } 1.16 1.17 - public: 1.18 // Accessors. 1.19 JVMState* caller() const { return _caller; } 1.20 float expected_uses() const { return _expected_uses; } 1.21 @@ -407,6 +409,8 @@ 1.22 return block()->successor_for_bci(bci); 1.23 } 1.24 1.25 + Parse* parent_parser() const { return _parent; } 1.26 + 1.27 private: 1.28 // Create a JVMS & map for the initial state of this method. 1.29 SafePointNode* create_entry_map();