Skip to content

Commit

Permalink
Fix incorrect condition
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Dec 19, 2024
1 parent 453a706 commit 7948300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ir.h
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ IR_ALWAYS_INLINE void *ir_jit_compile(ir_ctx *ctx, int opt_level, size_t *size)

if (opt_level > 1) {
ir_reset_cfg(ctx);
if (ir_sccp(ctx)) {
if (!ir_sccp(ctx)) {
return NULL;
}
}
Expand Down

0 comments on commit 7948300

Please sign in to comment.