Skip to content

Commit 3c21fac

Browse files
shqkingdstogov
authored andcommitted
Support failed JIT test case: assign_dim_op_001.phpt
This test case covers one new path in macro TRY_ADDREF, touching macro GC_ADDREF for the first time.
1 parent 70a0b18 commit 3c21fac

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ext/opcache/jit/zend_jit_arm64.dasc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,6 @@ static void* dasm_labels[zend_lb_MAX];
908908
|.endmacro
909909

910910
|.macro GC_ADDREF, zv, tmp_reg
911-
| brk #0 // TODO: test
912911
| ldr tmp_reg, [zv]
913912
| add tmp_reg, tmp_reg, #1
914913
| str tmp_reg, [zv]
@@ -949,7 +948,6 @@ static void* dasm_labels[zend_lb_MAX];
949948
|| if (val_info & (MAY_BE_ANY-(MAY_BE_OBJECT|MAY_BE_RESOURCE))) {
950949
| IF_NOT_REFCOUNTED type_flags_reg, >1
951950
|| }
952-
| // brk #0 // TODO: test
953951
| GC_ADDREF value_ptr_reg, tmp_reg
954952
|1:
955953
|| }

0 commit comments

Comments
 (0)