Skip to content

Commit

Permalink
Fixed support ir_ctx.ret_type
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Oct 20, 2023
1 parent 193a03d commit 66d40ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/opcache/jit/zend_jit_ir.c
Original file line number Diff line number Diff line change
Expand Up @@ -2657,6 +2657,7 @@ static void zend_jit_init_ctx(zend_jit_ctx *jit, uint32_t flags)
flags |= IR_OPT_FOLDING | IR_OPT_CFG | IR_OPT_CODEGEN | IR_HAS_CALLS;

ir_init(&jit->ctx, flags, 256, 1024);
jit->ctx.ret_type = -1;

#if defined(IR_TARGET_X86) || defined(IR_TARGET_X64)
if (JIT_G(opt_flags) & allowed_opt_flags & ZEND_JIT_CPU_AVX) {
Expand Down

0 comments on commit 66d40ad

Please sign in to comment.