comparison src/share/vm/opto/output.cpp @ 5132:e1a03c81cef0

another fix for non-graal builds
author Lukas Stadler <lukas.stadler@jku.at>
date Wed, 21 Mar 2012 13:05:57 +0100
parents 33df1aeaebbf
children c38f13903fdf
comparison
equal deleted inserted replaced
5131:e307e8104e12 5132:e1a03c81cef0
813 bool return_oop = false; 813 bool return_oop = false;
814 814
815 // Add the safepoint in the DebugInfoRecorder 815 // Add the safepoint in the DebugInfoRecorder
816 if( !mach->is_MachCall() ) { 816 if( !mach->is_MachCall() ) {
817 mcall = NULL; 817 mcall = NULL;
818 debug_info()->add_safepoint(safepoint_pc_offset, sfn->_oop_map); 818 debug_info()->add_safepoint(safepoint_pc_offset, -1, sfn->_oop_map);
819 } else { 819 } else {
820 mcall = mach->as_MachCall(); 820 mcall = mach->as_MachCall();
821 821
822 // Is the call a MethodHandle call? 822 // Is the call a MethodHandle call?
823 if (mcall->is_MachCallJava()) { 823 if (mcall->is_MachCallJava()) {
831 if (mcall->return_value_is_used() && 831 if (mcall->return_value_is_used() &&
832 mcall->tf()->range()->field_at(TypeFunc::Parms)->isa_ptr()) { 832 mcall->tf()->range()->field_at(TypeFunc::Parms)->isa_ptr()) {
833 return_oop = true; 833 return_oop = true;
834 } 834 }
835 safepoint_pc_offset += mcall->ret_addr_offset(); 835 safepoint_pc_offset += mcall->ret_addr_offset();
836 debug_info()->add_safepoint(safepoint_pc_offset, mcall->_oop_map); 836 debug_info()->add_safepoint(safepoint_pc_offset, -1, mcall->_oop_map);
837 } 837 }
838 838
839 // Loop over the JVMState list to add scope information 839 // Loop over the JVMState list to add scope information
840 // Do not skip safepoints with a NULL method, they need monitor info 840 // Do not skip safepoints with a NULL method, they need monitor info
841 JVMState* youngest_jvms = sfn->jvms(); 841 JVMState* youngest_jvms = sfn->jvms();