mirror of
https://github.com/open-goal/jak-project
synced 2026-05-23 15:02:01 -04:00
[Decompile] connect, text-h, settings-h, capture, memory-usage-h (#410)
* decompile stuff * temp * temp2 * fix * temp * preparing for merge * working * fix stupid format * fix codacy
This commit is contained in:
@@ -255,7 +255,7 @@ void ObjectFileDB::ir2_stack_spill_slot_pass() {
|
||||
}
|
||||
func.ir2.env.set_stack_spills(spill_map);
|
||||
});
|
||||
lg::info("Analyzed stack spills: found {} functions will spills (total {} vars), took {:.2f} ms",
|
||||
lg::info("Analyzed stack spills: found {} functions with spills (total {} vars), took {:.2f} ms",
|
||||
functions_with_spills, total_slots, timer.getMs());
|
||||
}
|
||||
|
||||
@@ -614,7 +614,7 @@ std::string ObjectFileDB::ir2_to_file(ObjectFileData& data) {
|
||||
}
|
||||
}
|
||||
|
||||
if (func.ir2.print_debug_forms) {
|
||||
if (false && func.ir2.print_debug_forms) {
|
||||
result += '\n';
|
||||
result += ";; DEBUG OUTPUT BELOW THIS LINE:\n";
|
||||
result += func.ir2.debug_form_string;
|
||||
@@ -815,9 +815,8 @@ std::string ObjectFileDB::ir2_function_to_string(ObjectFileData& data, Function&
|
||||
}
|
||||
|
||||
if (func.cfg) {
|
||||
result += func.cfg->to_form_string();
|
||||
|
||||
if (!func.cfg->is_fully_resolved()) {
|
||||
result += func.cfg->to_form_string();
|
||||
result += "\n";
|
||||
result += func.cfg->to_dot();
|
||||
result += "\n";
|
||||
|
||||
Reference in New Issue
Block a user