mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Merge branch 'PHP-8.4'
* PHP-8.4: Fix function JIT for Wordpress unit tests
This commit is contained in:
commit
cd586623b6
1 changed files with 5 additions and 0 deletions
|
@ -3562,6 +3562,8 @@ static void jit_IF_TRUE_FALSE_ex(zend_jit_ctx *jit, ir_ref if_ref, ir_ref true_b
|
|||
}
|
||||
}
|
||||
|
||||
static void zend_jit_case_start(zend_jit_ctx *jit, int switch_b, int case_b, ir_ref switch_ref);
|
||||
|
||||
static void _zend_jit_add_predecessor_ref(zend_jit_ctx *jit, int b, int pred, ir_ref ref)
|
||||
{
|
||||
int i, *p;
|
||||
|
@ -3584,6 +3586,9 @@ static void _zend_jit_add_predecessor_ref(zend_jit_ctx *jit, int b, int pred, ir
|
|||
} else if (jit->ctx.ir_base[ref].op == IR_IF) {
|
||||
jit_IF_TRUE_FALSE_ex(jit, ref, b);
|
||||
ref = ir_LOOP_END();
|
||||
} else if (jit->ctx.ir_base[ref].op == IR_SWITCH) {
|
||||
zend_jit_case_start(jit, pred, b, ref);
|
||||
ref = ir_LOOP_END();
|
||||
} else if (jit->ctx.ir_base[ref].op == IR_UNREACHABLE) {
|
||||
ir_BEGIN(ref);
|
||||
ref = ir_LOOP_END();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue