MCPcopy Create free account
hub / github.com/N64Recomp/N64Recomp / emit_case

Method emit_case

src/cgenerator.cpp:472–474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470}
471
472void N64Recomp::CGenerator::emit_case(int case_index, const std::string& target_label) const {
473 fmt::print(output_file, "case {}: goto {}; break;\n", case_index, target_label);
474}
475
476void N64Recomp::CGenerator::emit_switch_error(uint32_t instr_vram, uint32_t jtbl_vram) const {
477 fmt::print(output_file, "default: switch_error(__func__, 0x{:08X}, 0x{:08X});\n", instr_vram, jtbl_vram);

Callers 1

process_instructionFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected