Skip to content

Commit 1b846f8

Browse files
committed
Fixed GH-12584: Assertion `ctx->control' failed with new JIT and CALL
VM`
1 parent f27090c commit 1b846f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/opcache/jit/zend_jit_ir.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16354,6 +16354,7 @@ static int zend_jit_trace_return(zend_jit_ctx *jit, bool original_handler, const
1635416354
|| opline->opcode == ZEND_YIELD
1635516355
|| opline->opcode == ZEND_YIELD_FROM)) {
1635616356
ir_RETURN(ref);
16357+
return 1;
1635716358
}
1635816359
}
1635916360
ir_RETURN(ir_CONST_I32(2)); // ZEND_VM_LEAVE

0 commit comments

Comments
 (0)