[php-src] jit-arm64: Fixed copy/paste error
| From: | Dmitry Stogov | Date: | Wed, 21 Apr 2021 17:18:32 +0000 |
| Subject: | [php-src] jit-arm64: Fixed copy/paste error | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-115731@lists.php.net to get a copy of this message | ||
Author: Dmitry Stogov (dstogov)
Date: 2021-04-21T20:18:00+03:00
Commit: https://github.com/php/php-src/commit/6d2a93bc3b1b81cb8cfb87fdec486f4003a967df
Raw diff: https://github.com/php/php-src/commit/6d2a93bc3b1b81cb8cfb87fdec486f4003a967df.diff
Fixed copy/paste error
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 09b2b077c83d..76a6a0f0af95 100644
--- a/ext/opcache/jit/zend_jit_arm64.dasc
+++ b/ext/opcache/jit/zend_jit_arm64.dasc
@@ -3190,9 +3190,9 @@ static int zend_jit_math_long_long(dasm_State **Dst,
| // TODO: overflow may be missed
}
} else if (opcode == ZEND_MUL &&
- Z_MODE(op2_addr) == IS_CONST_ZVAL &&
- IS_SIGNED_32BIT(Z_LVAL_P(Z_ZV(op2_addr))) &&
- is_power_of_two(Z_LVAL_P(Z_ZV(op2_addr)))) {
+ Z_MODE(op1_addr) == IS_CONST_ZVAL &&
+ IS_SIGNED_32BIT(Z_LVAL_P(Z_ZV(op1_addr))) &&
+ is_power_of_two(Z_LVAL_P(Z_ZV(op1_addr)))) {
if (Z_LVAL_P(Z_ZV(op1_addr)) == 2) {
if (Z_MODE(op2_addr) == IS_REG) {