[php-src] jit-arm64: Fixed load of incorrect size
| From: | Dmitry Stogov | Date: | Fri, 23 Apr 2021 06:50:34 +0000 |
| Subject: | [php-src] jit-arm64: Fixed load of incorrect size | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-115776@lists.php.net to get a copy of this message | ||
Author: Dmitry Stogov (dstogov)
Date: 2021-04-23T09:49:50+03:00
Commit: https://github.com/php/php-src/commit/4db1910812e972df6b59b8b0b7e014d327110682
Raw diff: https://github.com/php/php-src/commit/4db1910812e972df6b59b8b0b7e014d327110682.diff
Fixed load of incorrect size
Changed paths:
M ext/opcache/jit/zend_jit_arm64.dasc
Diff:
diff --git a/ext/opcache/jit/zend_jit_arm64.dasc b/ext/opcache/jit/zend_jit_arm64.dasc
index 1d1d418478ab..b8b158880a58 100644
--- a/ext/opcache/jit/zend_jit_arm64.dasc
+++ b/ext/opcache/jit/zend_jit_arm64.dasc
@@ -1733,7 +1733,7 @@ static int zend_jit_throw_cannot_pass_by_ref_stub(dasm_State **Dst)
| ldrb TMP1w, OP:RX->op1_type
| cmp TMP1w, #IS_TMP_VAR
| bne >9
- | ldr REG0, OP:RX->op1.var
+ | ldr REG0w, OP:RX->op1.var
| add REG0, REG0, FP
| ZVAL_PTR_DTOR addr, MAY_BE_ANY|MAY_BE_RC1|MAY_BE_RCN|MAY_BE_REF, 0, 0, NULL, ZREG_TMP1,
ZREG_TMP2
|9: