Skip to content

Commit d0715aa

Browse files
committed
Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0: JIT: Fixed label mess
2 parents 69eb6e0 + 3fd1f6c commit d0715aa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ext/opcache/jit/zend_jit_arm64.dasc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5714,14 +5714,14 @@ static int zend_jit_assign_to_variable(dasm_State **Dst,
57145714
var_addr = var_use_addr = ZEND_ADDR_MEM_ZVAL(ref_reg, 0);
57155715
}
57165716
| // if (Z_ISREF_P(variable_ptr)) {
5717-
| IF_NOT_Z_TYPE Rx(ref_reg), IS_REFERENCE, >1, TMP1w
5717+
| IF_NOT_Z_TYPE Rx(ref_reg), IS_REFERENCE, >3, TMP1w
57185718
| // if (UNEXPECTED(ZEND_REF_HAS_TYPE_SOURCES(Z_REF_P(variable_ptr)))) {
57195719
| GET_Z_PTR FCARG1x, Rx(ref_reg)
57205720
if (!zend_jit_assign_to_typed_ref(Dst, opline, val_type, val_addr, res_addr, check_exception)) {
57215721
return 0;
57225722
}
57235723
| add Rx(ref_reg), FCARG1x, #offsetof(zend_reference, val)
5724-
|1:
5724+
|3:
57255725
}
57265726
if (var_info & (MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_OBJECT|MAY_BE_RESOURCE)) {
57275727
if (RC_MAY_BE_1(var_info)) {

ext/opcache/jit/zend_jit_x86.dasc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6200,14 +6200,14 @@ static int zend_jit_assign_to_variable(dasm_State **Dst,
62006200
var_addr = var_use_addr = ZEND_ADDR_MEM_ZVAL(ref_reg, 0);
62016201
}
62026202
| // if (Z_ISREF_P(variable_ptr)) {
6203-
| IF_NOT_Z_TYPE, Ra(ref_reg), IS_REFERENCE, >1
6203+
| IF_NOT_Z_TYPE, Ra(ref_reg), IS_REFERENCE, >3
62046204
| // if (UNEXPECTED(ZEND_REF_HAS_TYPE_SOURCES(Z_REF_P(variable_ptr)))) {
62056205
| GET_Z_PTR FCARG1a, Ra(ref_reg)
62066206
if (!zend_jit_assign_to_typed_ref(Dst, opline, val_type, val_addr, res_addr, check_exception)) {
62076207
return 0;
62086208
}
62096209
| lea Ra(ref_reg), [FCARG1a + offsetof(zend_reference, val)]
6210-
|1:
6210+
|3:
62116211
}
62126212
if (var_info & (MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_OBJECT|MAY_BE_RESOURCE)) {
62136213
if (RC_MAY_BE_1(var_info)) {

0 commit comments

Comments
 (0)