mirror of
https://github.com/open-goal/jak-project
synced 2026-05-27 08:09:29 -04:00
@@ -902,6 +902,10 @@ std::string ObjectFileDB::ir2_function_to_string(ObjectFileData& data, Function&
|
||||
result += "; .function " + func.name() + "\n";
|
||||
result += ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n";
|
||||
result += func.prologue.to_string(2) + "\n";
|
||||
if (func.guessed_name.kind == FunctionName::FunctionKind::NV_STATE ||
|
||||
func.guessed_name.kind == FunctionName::FunctionKind::V_STATE) {
|
||||
result += fmt::format(" ; function renamed from {}\n", func.state_handler_as_anon_func);
|
||||
}
|
||||
if (func.warnings.has_warnings()) {
|
||||
result += ";; Warnings:\n" + func.warnings.get_warning_text(true) + "\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user