Skip to content

Commit 35a67d7

Browse files
committed
Set to IS_ERROR
1 parent 7f74535 commit 35a67d7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ext/opcache/jit/zend_jit_arm64.dasc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11842,14 +11842,15 @@ static int zend_jit_fetch_obj(dasm_State **Dst,
1184211842
| tst TMP1w, #ZEND_ACC_READONLY
1184311843
| bne >3
1184411844
| IF_NOT_TYPE REG2w, IS_OBJECT, >2
11845-
| GET_Z_PTR REG2, FCARG1x, TMP1
11845+
| GET_Z_PTR REG2, FCARG1x
1184611846
| GC_ADDREF REG2, TMP1w
1184711847
| SET_ZVAL_PTR res_addr, REG2, TMP1
1184811848
| SET_ZVAL_TYPE_INFO res_addr, IS_OBJECT_EX, TMP1w, TMP2
1184911849
| b >9
1185011850
|2:
1185111851
| mov FCARG1x, FCARG2x
1185211852
| EXT_CALL zend_readonly_property_modification_error, REG0
11853+
| SET_ZVAL_TYPE_INFO res_addr, _IS_ERROR, TMP1w, TMP2
1185311854
| b >9
1185411855
|3:
1185511856
if (flags == ZEND_FETCH_DIM_WRITE) {
@@ -11893,6 +11894,7 @@ static int zend_jit_fetch_obj(dasm_State **Dst,
1189311894
|4:
1189411895
| LOAD_ADDR FCARG1x, prop_info
1189511896
| EXT_CALL zend_readonly_property_modification_error, REG0
11897+
| SET_ZVAL_TYPE_INFO res_addr, _IS_ERROR, TMP1w, TMP2
1189611898
| b >9
1189711899
|.code
1189811900
}

ext/opcache/jit/zend_jit_x86.dasc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12528,6 +12528,7 @@ static int zend_jit_fetch_obj(dasm_State **Dst,
1252812528
|2:
1252912529
| mov FCARG1a, FCARG2a
1253012530
| EXT_CALL zend_readonly_property_modification_error, r0
12531+
| SET_ZVAL_TYPE_INFO res_addr, _IS_ERROR
1253112532
| jmp >9
1253212533
|3:
1253312534
if (flags == ZEND_FETCH_DIM_WRITE) {
@@ -12579,6 +12580,7 @@ static int zend_jit_fetch_obj(dasm_State **Dst,
1257912580
|4:
1258012581
| LOAD_ADDR FCARG1a, prop_info
1258112582
| EXT_CALL zend_readonly_property_modification_error, r0
12583+
| SET_ZVAL_TYPE_INFO res_addr, _IS_ERROR
1258212584
| jmp >9
1258312585
|.code
1258412586
}

0 commit comments

Comments
 (0)