t6: fix decompiler loop bug
This commit is contained in:
parent
64d107404d
commit
48165edfad
@ -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)
|
else if (stmt->list.at(start).as_node->kind() != ast::kind::asm_jump_cond)
|
||||||
{
|
{
|
||||||
decompile_infinite(stmt, start, i);
|
decompile_infinite(stmt, start, i);
|
||||||
i = start;
|
i = stmt->list.size();
|
||||||
}
|
}
|
||||||
else if (stmt->list.at(start).as_cond->value != break_loc)
|
else if (stmt->list.at(start).as_cond->value != break_loc)
|
||||||
{
|
{
|
||||||
decompile_infinite(stmt, start, i);
|
decompile_infinite(stmt, start, i);
|
||||||
i = start;
|
i = stmt->list.size();
|
||||||
}
|
}
|
||||||
else if (stmt->list.at(start).as_cond->value == break_loc)
|
else if (stmt->list.at(start).as_cond->value == break_loc)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user