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

Method emit_function_call_reference_symbol

src/cgenerator.cpp:417–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

415}
416
417void N64Recomp::CGenerator::emit_function_call_reference_symbol(const Context& context, uint16_t section_index, size_t symbol_index, uint32_t target_section_offset) const {
418 (void)target_section_offset;
419 const N64Recomp::ReferenceSymbol& sym = context.get_reference_symbol(section_index, symbol_index);
420 fmt::print(output_file, "{}(rdram, ctx);\n", sym.name);
421}
422
423void N64Recomp::CGenerator::emit_function_call(const Context& context, size_t function_index) const {
424 fmt::print(output_file, "{}(rdram, ctx);\n", context.functions[function_index].name);

Callers 1

process_instructionFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected