112 // jmp or the ic code will not see it as unresolved. |
112 // jmp or the ic code will not see it as unresolved. |
113 } |
113 } |
114 |
114 |
115 |
115 |
116 address* Relocation::pd_address_in_code() { |
116 address* Relocation::pd_address_in_code() { |
117 //ShouldNotReachHere(); |
117 // ShouldNotReachHere(); |
118 return (address*)addr(); |
118 return (address*)addr(); |
119 } |
119 } |
120 |
120 |
121 |
121 |
122 address Relocation::pd_get_address_from_code() { |
122 address Relocation::pd_get_address_from_code() { |
125 } |
125 } |
126 |
126 |
127 |
127 |
128 |
128 |
129 void poll_Relocation::fix_relocation_after_move(const CodeBuffer* src, CodeBuffer* dest) { |
129 void poll_Relocation::fix_relocation_after_move(const CodeBuffer* src, CodeBuffer* dest) { |
130 // Unimplemented(); |
130 //Unimplemented(); |
|
131 //tty->print_cr("%s not finished yet!!!", __func__); |
131 } |
132 } |
132 |
133 |
133 void poll_return_Relocation::fix_relocation_after_move(const CodeBuffer* src, CodeBuffer* dest) { |
134 void poll_return_Relocation::fix_relocation_after_move(const CodeBuffer* src, CodeBuffer* dest) { |
134 // Unimplemented(); |
135 //Unimplemented(); |
|
136 //tty->print_cr("%s not finished yet!!!", __func__); |
135 } |
137 } |
136 |
138 |
137 void internal_pc_Relocation::fix_relocation_after_move(const CodeBuffer* src, CodeBuffer* dest) { |
139 void internal_pc_Relocation::fix_relocation_after_move(const CodeBuffer* src, CodeBuffer* dest) { |
138 address target =0; |
140 address target =0; |
139 NativeMovConstReg* ni = nativeMovConstReg_at(addr()); |
141 NativeMovConstReg* ni = nativeMovConstReg_at(addr()); |