fix infinite loop
This commit is contained in:
parent
2dcde964e1
commit
3c9441877f
@ -2376,6 +2376,8 @@ void decompiler::decompile_loop(const gsc::stmt_list_ptr& block, std::uint32_t s
|
||||
{
|
||||
if(start - index > 0)
|
||||
index++;
|
||||
else
|
||||
break;
|
||||
}
|
||||
|
||||
if(block->stmts.at(start - index).as_node->type == gsc::node_t::stmt_assign)
|
||||
|
@ -2376,6 +2376,8 @@ void decompiler::decompile_loop(const gsc::stmt_list_ptr& block, std::uint32_t s
|
||||
{
|
||||
if(start - index > 0)
|
||||
index++;
|
||||
else
|
||||
break;
|
||||
}
|
||||
|
||||
if(block->stmts.at(start - index).as_node->type == gsc::node_t::stmt_assign)
|
||||
|
@ -2483,6 +2483,8 @@ void decompiler::decompile_loop(const gsc::stmt_list_ptr& block, std::uint32_t s
|
||||
{
|
||||
if(start - index > 0)
|
||||
index++;
|
||||
else
|
||||
break;
|
||||
}
|
||||
|
||||
if(block->stmts.at(start - index).as_node->type == gsc::node_t::stmt_assign)
|
||||
|
@ -2370,6 +2370,8 @@ void decompiler::decompile_loop(const gsc::stmt_list_ptr& block, std::uint32_t s
|
||||
{
|
||||
if(start - index > 0)
|
||||
index++;
|
||||
else
|
||||
break;
|
||||
}
|
||||
|
||||
if(block->stmts.at(start - index).as_node->type == gsc::node_t::stmt_assign)
|
||||
|
@ -2370,6 +2370,8 @@ void decompiler::decompile_loop(const gsc::stmt_list_ptr& block, std::uint32_t s
|
||||
{
|
||||
if(start - index > 0)
|
||||
index++;
|
||||
else
|
||||
break;
|
||||
}
|
||||
|
||||
if(block->stmts.at(start - index).as_node->type == gsc::node_t::stmt_assign)
|
||||
|
@ -2426,6 +2426,8 @@ void decompiler::decompile_loop(const gsc::stmt_list_ptr& block, std::uint32_t s
|
||||
{
|
||||
if(start - index > 0)
|
||||
index++;
|
||||
else
|
||||
break;
|
||||
}
|
||||
|
||||
if(block->stmts.at(start - index).as_node->type == gsc::node_t::stmt_assign)
|
||||
|
@ -2376,6 +2376,8 @@ void decompiler::decompile_loop(const gsc::stmt_list_ptr& block, std::uint32_t s
|
||||
{
|
||||
if(start - index > 0)
|
||||
index++;
|
||||
else
|
||||
break;
|
||||
}
|
||||
|
||||
if(block->stmts.at(start - index).as_node->type == gsc::node_t::stmt_assign)
|
||||
|
@ -2385,6 +2385,8 @@ void decompiler::decompile_loop(const gsc::stmt_list_ptr& block, std::uint32_t s
|
||||
{
|
||||
if(start - index > 0)
|
||||
index++;
|
||||
else
|
||||
break;
|
||||
}
|
||||
|
||||
if(block->stmts.at(start - index).as_node->type == gsc::node_t::stmt_assign)
|
||||
|
@ -2426,6 +2426,8 @@ void decompiler::decompile_loop(const gsc::stmt_list_ptr& block, std::uint32_t s
|
||||
{
|
||||
if(start - index > 0)
|
||||
index++;
|
||||
else
|
||||
break;
|
||||
}
|
||||
|
||||
if(block->stmts.at(start - index).as_node->type == gsc::node_t::stmt_assign)
|
||||
|
Loading…
Reference in New Issue
Block a user