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

Method recompile_function

src/recompilation.cpp:876–879  ·  view source on GitHub ↗

Wrap the templated function with CGenerator as the template parameter.

Source from the content-addressed store, hash-verified

874
875// Wrap the templated function with CGenerator as the template parameter.
876bool N64Recomp::recompile_function(const N64Recomp::Context& context, size_t function_index, std::ostream& output_file, std::span<std::vector<uint32_t>> static_funcs_out, bool tag_reference_relocs) {
877 CGenerator generator{output_file};
878 return recompile_function_impl(generator, context, function_index, output_file, static_funcs_out, tag_reference_relocs);
879}
880
881bool N64Recomp::recompile_function_custom(Generator& generator, const Context& context, size_t function_index, std::ostream& output_file, std::span<std::vector<uint32_t>> static_funcs_out, bool tag_reference_relocs) {
882 return recompile_function_impl(generator, context, function_index, output_file, static_funcs_out, tag_reference_relocs);

Callers

nothing calls this directly

Calls 1

recompile_function_implFunction · 0.85

Tested by

no test coverage detected