< prev index next >
src/share/vm/code/relocInfo.cpp
Print this page
rev 12121 : [mq]: all_changes.patch
*** 550,559 ****
--- 550,567 ----
unpack_2_ints(x0, _method_index);
address point = addr();
_cached_value = x0==0? NULL: address_from_scaled_offset(x0, point);
}
+ void runtime_call_w_cp_Relocation::pack_data_to(CodeSection * dest) {
+ short* p = pack_1_int_to((short *)dest->locs_end(), (jint)(_offset >> 2));
+ dest->set_locs_end((relocInfo*) p);
+ }
+
+ void runtime_call_w_cp_Relocation::unpack_data() {
+ _offset = unpack_1_int() << 2;
+ }
void static_stub_Relocation::pack_data_to(CodeSection* dest) {
short* p = (short*) dest->locs_end();
CodeSection* insts = dest->outer()->insts();
normalize_address(_static_call, insts);
*** 1007,1016 ****
--- 1015,1025 ----
tty->print(" | [destination=" INTPTR_FORMAT " metadata=" INTPTR_FORMAT "]",
p2i(r->destination()), p2i(r->method_value()));
break;
}
case relocInfo::runtime_call_type:
+ case relocInfo::runtime_call_w_cp_type:
{
CallRelocation* r = (CallRelocation*) reloc();
tty->print(" | [destination=" INTPTR_FORMAT "]", p2i(r->destination()));
break;
}
< prev index next >