| 439 | } |
| 440 | |
| 441 | void N64Recomp::CGenerator::emit_jtbl_addend_declaration(const JumpTable& jtbl, int reg) const { |
| 442 | std::string jump_variable = fmt::format("jr_addend_{:08X}", jtbl.jr_vram); |
| 443 | fmt::print(output_file, "gpr {} = {};\n", jump_variable, gpr_to_string(reg)); |
| 444 | } |
| 445 | |
| 446 | void N64Recomp::CGenerator::emit_branch_condition(const ConditionalBranchOp& op, const InstructionContext& ctx) const { |
| 447 | // Thread local variables to prevent allocations when possible. |
no test coverage detected