mirror of
https://github.com/open-goal/jak-project
synced 2026-05-23 15:02:01 -04:00
[decompiler] fix bad cast and crash on bad and/or recognition (#626)
* fix small bugs * fix missing inlining of derefs
This commit is contained in:
@@ -854,8 +854,8 @@ std::string ObjectFileDB::ir2_function_to_string(ObjectFileData& data, Function&
|
||||
auto& op = func.get_atomic_op_at_instr(instr_id);
|
||||
op_id = func.ir2.atomic_ops->instruction_to_atomic_op.at(instr_id);
|
||||
append_commented(line, printed_comment,
|
||||
op.to_form(data.linked_data.labels, func.ir2.env).print() + "[" +
|
||||
std::to_string(op_id) + "]");
|
||||
fmt::format("[{:3d}] {}", op_id,
|
||||
op.to_form(data.linked_data.labels, func.ir2.env).print()));
|
||||
|
||||
if (func.ir2.env.has_type_analysis()) {
|
||||
append_commented(
|
||||
|
||||
Reference in New Issue
Block a user