Skip to content

Commit

Permalink
Fixed phpGH-12584: Assertion `ctx->control' failed with new JIT and CALL
Browse files Browse the repository at this point in the history
VM`
  • Loading branch information
dstogov committed Nov 1, 2023
1 parent f27090c commit 1b846f8
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 @@ -16354,6 +16354,7 @@ static int zend_jit_trace_return(zend_jit_ctx *jit, bool original_handler, const
|| opline->opcode == ZEND_YIELD
|| opline->opcode == ZEND_YIELD_FROM)) {
ir_RETURN(ref);
return 1;
}
}
ir_RETURN(ir_CONST_I32(2)); // ZEND_VM_LEAVE
Expand Down

0 comments on commit 1b846f8

Please sign in to comment.