75 void set_rethrow_exception(bool z) { set_flag(PCDESC_rethrow_exception, z); }
76 bool should_reexecute() const { return (_flags & PCDESC_reexecute) != 0; }
77 void set_should_reexecute(bool z) { set_flag(PCDESC_reexecute, z); }
78
79 // Does pd refer to the same information as pd?
80 bool is_same_info(const PcDesc* pd) {
81 return _scope_decode_offset == pd->_scope_decode_offset &&
82 _obj_decode_offset == pd->_obj_decode_offset &&
83 _flags == pd->_flags;
84 }
85
86 bool is_method_handle_invoke() const { return (_flags & PCDESC_is_method_handle_invoke) != 0; }
87 void set_is_method_handle_invoke(bool z) { set_flag(PCDESC_is_method_handle_invoke, z); }
88
89 bool return_oop() const { return (_flags & PCDESC_return_oop) != 0; }
90 void set_return_oop(bool z) { set_flag(PCDESC_return_oop, z); }
91
92 // Returns the real pc
93 address real_pc(const CompiledMethod* code) const;
94
95 void print(CompiledMethod* code);
96 bool verify(CompiledMethod* code);
97 };
98
99 #endif // SHARE_CODE_PCDESC_HPP
|
75 void set_rethrow_exception(bool z) { set_flag(PCDESC_rethrow_exception, z); }
76 bool should_reexecute() const { return (_flags & PCDESC_reexecute) != 0; }
77 void set_should_reexecute(bool z) { set_flag(PCDESC_reexecute, z); }
78
79 // Does pd refer to the same information as pd?
80 bool is_same_info(const PcDesc* pd) {
81 return _scope_decode_offset == pd->_scope_decode_offset &&
82 _obj_decode_offset == pd->_obj_decode_offset &&
83 _flags == pd->_flags;
84 }
85
86 bool is_method_handle_invoke() const { return (_flags & PCDESC_is_method_handle_invoke) != 0; }
87 void set_is_method_handle_invoke(bool z) { set_flag(PCDESC_is_method_handle_invoke, z); }
88
89 bool return_oop() const { return (_flags & PCDESC_return_oop) != 0; }
90 void set_return_oop(bool z) { set_flag(PCDESC_return_oop, z); }
91
92 // Returns the real pc
93 address real_pc(const CompiledMethod* code) const;
94
95 void print(CompiledMethod* code) { print_on(tty, code); }
96 void print_on(outputStream* st, CompiledMethod* code);
97 bool verify(CompiledMethod* code);
98 };
99
100 #endif // SHARE_CODE_PCDESC_HPP
|