Mercurial > hg > truffle
comparison src/share/vm/graal/graalCodeInstaller.cpp @ 11338:87cab8081da4
removed dead code for HotSpotInstalledCode in CodeInstaller::site_Call
author | twisti |
---|---|
date | Fri, 16 Aug 2013 17:22:34 -0700 |
parents | b5f6188d79c5 |
children | ce0b00597980 |
comparison
equal
deleted
inserted
replaced
11337:39e83065426e | 11338:87cab8081da4 |
---|---|
730 assert((hotspot_method ? 1 : 0) + (foreign_call ? 1 : 0) == 1, "Call site needs exactly one type"); | 730 assert((hotspot_method ? 1 : 0) + (foreign_call ? 1 : 0) == 1, "Call site needs exactly one type"); |
731 | 731 |
732 NativeInstruction* inst = nativeInstruction_at(_instructions->start() + pc_offset); | 732 NativeInstruction* inst = nativeInstruction_at(_instructions->start() + pc_offset); |
733 jint next_pc_offset = CodeInstaller::pd_next_offset(inst, pc_offset, hotspot_method); | 733 jint next_pc_offset = CodeInstaller::pd_next_offset(inst, pc_offset, hotspot_method); |
734 | 734 |
735 if (target->is_a(SystemDictionary::HotSpotInstalledCode_klass())) { | |
736 assert(inst->is_jump(), "jump expected"); | |
737 CodeBlob* cb = (CodeBlob*) (address) HotSpotInstalledCode::codeBlob(target); | |
738 assert(cb != NULL, "npe"); | |
739 CodeInstaller::pd_relocate_CodeBlob(cb, inst); | |
740 return; | |
741 } | |
742 | |
743 if (debug_info != NULL) { | 735 if (debug_info != NULL) { |
744 oop frame = DebugInfo::bytecodePosition(debug_info); | 736 oop frame = DebugInfo::bytecodePosition(debug_info); |
745 _debug_recorder->add_safepoint(next_pc_offset, create_oop_map(_total_frame_size, _parameter_count, debug_info)); | 737 _debug_recorder->add_safepoint(next_pc_offset, create_oop_map(_total_frame_size, _parameter_count, debug_info)); |
746 if (frame != NULL) { | 738 if (frame != NULL) { |
747 record_scope(next_pc_offset, frame, new GrowableArray<ScopeValue*>()); | 739 record_scope(next_pc_offset, frame, new GrowableArray<ScopeValue*>()); |