diff --git a/ext/opcache/jit/ir/ir_dump.c b/ext/opcache/jit/ir/ir_dump.c index c3a86e25222..f9b26c4d2a1 100644 --- a/ext/opcache/jit/ir/ir_dump.c +++ b/ext/opcache/jit/ir/ir_dump.c @@ -513,7 +513,7 @@ void ir_dump_codegen(const ir_ctx *ctx, FILE *f) } fprintf(f, "#BB%d: end=l_%d", b, bb->end); - if (bb->flags && IR_BB_UNREACHABLE) { + if (bb->flags & IR_BB_UNREACHABLE) { fprintf(f, ", U"); } if (bb->dom_parent > 0) { diff --git a/ext/opcache/jit/ir/ir_save.c b/ext/opcache/jit/ir/ir_save.c index 3e5d7559e9c..ce133f06fd6 100644 --- a/ext/opcache/jit/ir/ir_save.c +++ b/ext/opcache/jit/ir/ir_save.c @@ -121,7 +121,7 @@ void ir_save(const ir_ctx *ctx, uint32_t save_flags, FILE *f) uint32_t b = ctx->cfg_map[i]; ir_block *bb = &ctx->cfg_blocks[b]; fprintf(f, "#BB%d: end=l_%d", b, bb->end); - if (bb->flags && IR_BB_UNREACHABLE) { + if (bb->flags & IR_BB_UNREACHABLE) { fprintf(f, ", U"); } if (bb->dom_parent > 0) {