1
0
mirror of https://github.com/php/php-src.git synced 2026-03-31 04:32:19 +02:00

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.
This commit is contained in:
Max Kellermann
2022-12-21 14:53:21 +01:00
committed by GitHub
parent b73e1db77a
commit d3a6eedf4a

View File

@@ -4287,7 +4287,7 @@ static int ZEND_FASTCALL zend_runtime_jit(void)
/* perform real JIT for this function */
zend_real_jit_func(op_array, NULL, NULL);
} zend_catch {
do_bailout = 0;
do_bailout = true;
} zend_end_try();
zend_jit_protect();