207 // Manage labels and their addresses. |
207 // Manage labels and their addresses. |
208 address target(Label& L, address branch_pc); |
208 address target(Label& L, address branch_pc); |
209 |
209 |
210 // Emit a relocation. |
210 // Emit a relocation. |
211 void relocate(address at, RelocationHolder const& rspec, int format = 0); |
211 void relocate(address at, RelocationHolder const& rspec, int format = 0); |
212 void relocate(address at, relocInfo::relocType rtype, int format = 0) { |
212 void relocate(address at, relocInfo::relocType rtype, int format = 0, jint method_index = 0); |
213 if (rtype != relocInfo::none) |
|
214 relocate(at, Relocation::spec_simple(rtype), format); |
|
215 } |
|
216 |
213 |
217 // alignment requirement for starting offset |
214 // alignment requirement for starting offset |
218 // Requirements are that the instruction area and the |
215 // Requirements are that the instruction area and the |
219 // stubs area must start on CodeEntryAlignment, and |
216 // stubs area must start on CodeEntryAlignment, and |
220 // the ctable on sizeof(jdouble) |
217 // the ctable on sizeof(jdouble) |