t6: fix decompiler loop bug

This commit is contained in:
xensik 2022-05-24 20:10:26 +02:00
parent 64d107404d
commit 48165edfad

View File

@ -1307,12 +1307,12 @@ void decompiler::decompile_infinites(const ast::stmt_list::ptr& stmt)
else if (stmt->list.at(start).as_node->kind() != ast::kind::asm_jump_cond)
{
decompile_infinite(stmt, start, i);
i = start;
i = stmt->list.size();
}
else if (stmt->list.at(start).as_cond->value != break_loc)
{
decompile_infinite(stmt, start, i);
i = start;
i = stmt->list.size();
}
else if (stmt->list.at(start).as_cond->value == break_loc)
{