Skip to content

Commit 66d40ad

Browse files
committed
Fixed support ir_ctx.ret_type
1 parent 193a03d commit 66d40ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/opcache/jit/zend_jit_ir.c

+1
Original file line numberDiff line numberDiff line change
@@ -2657,6 +2657,7 @@ static void zend_jit_init_ctx(zend_jit_ctx *jit, uint32_t flags)
26572657
flags |= IR_OPT_FOLDING | IR_OPT_CFG | IR_OPT_CODEGEN | IR_HAS_CALLS;
26582658

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

26612662
#if defined(IR_TARGET_X86) || defined(IR_TARGET_X64)
26622663
if (JIT_G(opt_flags) & allowed_opt_flags & ZEND_JIT_CPU_AVX) {

0 commit comments

Comments
 (0)