829
830 virtual JVMState* jvms() const { return _jvms; }
831 void set_jvms(JVMState* s) {
832 _jvms = s;
833 }
834 virtual const Type *bottom_type() const;
835
836 virtual const RegMask &in_RegMask(uint) const;
837
838 // Functionality from old debug nodes
839 Node *returnadr() const { return in(TypeFunc::ReturnAdr); }
840 Node *frameptr () const { return in(TypeFunc::FramePtr); }
841
842 Node *local(const JVMState* jvms, uint idx) const {
843 assert(verify_jvms(jvms), "jvms must match");
844 return in(_jvmadj + jvms->locoff() + idx);
845 }
846 Node *stack(const JVMState* jvms, uint idx) const {
847 assert(verify_jvms(jvms), "jvms must match");
848 return in(_jvmadj + jvms->stkoff() + idx);
849 }
850 Node *monitor_obj(const JVMState* jvms, uint idx) const {
851 assert(verify_jvms(jvms), "jvms must match");
852 return in(_jvmadj + jvms->monitor_obj_offset(idx));
853 }
854 Node *monitor_box(const JVMState* jvms, uint idx) const {
855 assert(verify_jvms(jvms), "jvms must match");
856 return in(_jvmadj + jvms->monitor_box_offset(idx));
857 }
858 void set_local(const JVMState* jvms, uint idx, Node *c) {
859 assert(verify_jvms(jvms), "jvms must match");
860 set_req(_jvmadj + jvms->locoff() + idx, c);
861 }
862 void set_stack(const JVMState* jvms, uint idx, Node *c) {
863 assert(verify_jvms(jvms), "jvms must match");
864 set_req(_jvmadj + jvms->stkoff() + idx, c);
865 }
866 void set_monitor(const JVMState* jvms, uint idx, Node *c) {
867 assert(verify_jvms(jvms), "jvms must match");
868 set_req(_jvmadj + jvms->monoff() + idx, c);
869 }
|
829
830 virtual JVMState* jvms() const { return _jvms; }
831 void set_jvms(JVMState* s) {
832 _jvms = s;
833 }
834 virtual const Type *bottom_type() const;
835
836 virtual const RegMask &in_RegMask(uint) const;
837
838 // Functionality from old debug nodes
839 Node *returnadr() const { return in(TypeFunc::ReturnAdr); }
840 Node *frameptr () const { return in(TypeFunc::FramePtr); }
841
842 Node *local(const JVMState* jvms, uint idx) const {
843 assert(verify_jvms(jvms), "jvms must match");
844 return in(_jvmadj + jvms->locoff() + idx);
845 }
846 Node *stack(const JVMState* jvms, uint idx) const {
847 assert(verify_jvms(jvms), "jvms must match");
848 return in(_jvmadj + jvms->stkoff() + idx);
849 }
850 Node *scalar(const JVMState* jvms, uint idx) const {
851 assert(verify_jvms(jvms), "jvms must match");
852 return in(_jvmadj + jvms->scloff() + idx);
853 }
854 Node *monitor_obj(const JVMState* jvms, uint idx) const {
855 assert(verify_jvms(jvms), "jvms must match");
856 return in(_jvmadj + jvms->monitor_obj_offset(idx));
857 }
858 Node *monitor_box(const JVMState* jvms, uint idx) const {
859 assert(verify_jvms(jvms), "jvms must match");
860 return in(_jvmadj + jvms->monitor_box_offset(idx));
861 }
862 void set_local(const JVMState* jvms, uint idx, Node *c) {
863 assert(verify_jvms(jvms), "jvms must match");
864 set_req(_jvmadj + jvms->locoff() + idx, c);
865 }
866 void set_stack(const JVMState* jvms, uint idx, Node *c) {
867 assert(verify_jvms(jvms), "jvms must match");
868 set_req(_jvmadj + jvms->stkoff() + idx, c);
869 }
870 void set_monitor(const JVMState* jvms, uint idx, Node *c) {
871 assert(verify_jvms(jvms), "jvms must match");
872 set_req(_jvmadj + jvms->monoff() + idx, c);
873 }
|