]> granicus.if.org Git - php/commitdiff
Fixed wrong shift
authorDmitry Stogov <dmitry@zend.com>
Thu, 17 Oct 2019 20:31:47 +0000 (23:31 +0300)
committerDmitry Stogov <dmitry@zend.com>
Thu, 17 Oct 2019 20:31:47 +0000 (23:31 +0300)
ext/opcache/jit/zend_jit_x86.dasc

index 445b9cf356e678b5d27dc0219ae76b4f8065bbd9..d2f4a900175ace95060f49634b9bd0fe454cb3c5 100644 (file)
@@ -7866,7 +7866,7 @@ static int zend_jit_defined(dasm_State **Dst, const zend_op *opline, int b, int
        |.cold_code
        |4:
        |       MEM_OP2_2_ZTS mov, FCARG1a, aword, executor_globals, zend_constants, FCARG1a
-       |       shl     r0, 1
+       |       shr     r0, 1
        |       cmp dword [FCARG1a + offsetof(HashTable, nNumOfElements)], eax
        if (smart_branch) {
                if (undefined_label != (uint32_t)-1) {