Skip to content

Commit d3a6eed

Browse files
ext/opcache/jit/zend_jit: fix inverted bailout value in zend_runtime_jit() (#10144)
In the "catch" block, do_bailout must be set to true, not false, or else zend_bailout() never gets called.
1 parent b73e1db commit d3a6eed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4287,7 +4287,7 @@ static int ZEND_FASTCALL zend_runtime_jit(void)
42874287
/* perform real JIT for this function */
42884288
zend_real_jit_func(op_array, NULL, NULL);
42894289
} zend_catch {
4290-
do_bailout = 0;
4290+
do_bailout = true;
42914291
} zend_end_try();
42924292

42934293
zend_jit_protect();

0 commit comments

Comments
 (0)