[php-src] jit-arm64: Fixed incorrect efree()
| From: | Dmitry Stogov | Date: | Fri, 23 Apr 2021 14:04:35 +0000 |
| Subject: | [php-src] jit-arm64: Fixed incorrect efree() | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-115791@lists.php.net to get a copy of this message | ||
Author: Dmitry Stogov (dstogov)
Date: 2021-04-23T17:04:27+03:00
Commit: https://github.com/php/php-src/commit/aba64e64532c4cd52ca53b1ef997c45b04e6e8f1
Raw diff: https://github.com/php/php-src/commit/aba64e64532c4cd52ca53b1ef997c45b04e6e8f1.diff
Fixed incorrect efree()
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 c5f45c9706fc..4d3f466d00c9 100644
--- a/ext/opcache/jit/zend_jit_arm64.dasc
+++ b/ext/opcache/jit/zend_jit_arm64.dasc
@@ -4890,7 +4890,7 @@ static int zend_jit_simple_assign(dasm_State **Dst,
if (save_r1) {
| str FCARG1x, T1 // save
}
- | LOAD_ZVAL_ADDR FCARG1x, val_addr
+ | GET_ZVAL_PTR FCARG1x, val_addr, TMP1
| EFREE_REFERENCE
if (save_r1) {
| ldr FCARG1x, T1 // restore