| 220 | } |
| 221 | |
| 222 | void N64Recomp::LiveGeneratorOutput::populate_import_symbol_jumps(size_t import_index, recomp_func_t* func) { |
| 223 | auto find_range = import_jumps_by_index.equal_range(import_index); |
| 224 | for (auto it = find_range.first; it != find_range.second; ++it) { |
| 225 | sljit_set_jump_addr(reinterpret_cast<sljit_uw>(it->second), reinterpret_cast<sljit_uw>(func), executable_offset); |
| 226 | } |
| 227 | } |
| 228 | |
| 229 | constexpr int get_gpr_context_offset(int gpr_index) { |
| 230 | return offsetof(recomp_context, r0) + sizeof(recomp_context::r0) * gpr_index; |
nothing calls this directly
no outgoing calls
no test coverage detected