Skip to content

Commit

Permalink
modified the code mistake.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kray-G committed Jul 19, 2021
1 parent dd7e8e8 commit ac0c28e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ast_gencode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1928,10 +1928,10 @@ LOOP_HEAD:;
th = new_block_hook(ana);
get_block(module, cond)->tf[0] = th;
ana->block = th;
gencode_ast_hook(ctx, node->rhs, ana, 0);
if (need_pop) {
add_force_pop(ana);
}
gencode_ast_hook(ctx, node->rhs, ana, 0);
th = ana->block;
}
if (node->ex) {
Expand Down

0 comments on commit ac0c28e

Please sign in to comment.