Skip to content

Commit

Permalink
JIT ARM64: Use proper register
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Oct 8, 2021
1 parent d12d987 commit c9fb384
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/opcache/jit/zend_jit_arm64.dasc
Original file line number Diff line number Diff line change
Expand Up @@ -5491,7 +5491,7 @@ static int zend_jit_simple_assign(dasm_State **Dst,
|1:
}
if (Z_REG(val_addr) == ZREG_REG2) {
| str x2, T1 // save
| str REG2, T1 // save
}
| // zend_refcounted *ref = Z_COUNTED_P(retval_ptr);
| GET_ZVAL_PTR REG2, val_addr, TMP1
Expand All @@ -5518,7 +5518,7 @@ static int zend_jit_simple_assign(dasm_State **Dst,
|2:
}
if (Z_REG(val_addr) == ZREG_REG2) {
| ldr x2, T1 // restore
| ldr REG2, T1 // restore
}
if (save_r1) {
| str FCARG1x, T1 // save
Expand Down

0 comments on commit c9fb384

Please sign in to comment.