[php-src] jit-arm64: Fixed type check

From: Date: Fri, 23 Apr 2021 09:58:11 +0000
Subject: [php-src] jit-arm64: Fixed type check
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-115784@lists.php.net to get a copy of this message
Author: Dmitry Stogov (dstogov) Date: 2021-04-23T12:57:49+03:00 Commit: https://github.com/php/php-src/commit/d87f2bc09835829258bdbf4fbb9a9c540194d69f Raw diff: https://github.com/php/php-src/commit/d87f2bc09835829258bdbf4fbb9a9c540194d69f.diff Fixed type check 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 97341156d5a9..e661d62d9f29 100644 --- a/ext/opcache/jit/zend_jit_arm64.dasc +++ b/ext/opcache/jit/zend_jit_arm64.dasc @@ -9346,7 +9346,8 @@ static int zend_jit_send_var(dasm_State **Dst, const zend_op *opline, const zend if (opline->opcode == ZEND_SEND_VAR_NO_REF) { | ZVAL_COPY_VALUE arg_addr, MAY_BE_ANY, op1_addr, op1_info, ZREG_REG1, ZREG_REG2, ZREG_TMP1, ZREG_TMP2, ZREG_FPR0 if (op1_info & MAY_BE_REF) { - | cmp REG1w, #IS_REFERENCE + | and TMP1w, REG1w, #0xff + | cmp TMP1w, #IS_REFERENCE | beq >7 } if (JIT_G(trigger) == ZEND_JIT_ON_HOT_TRACE) {

« previous php.cvs (#115784) next »