From 65c4cc231df4df6321182c0a47e996cb22407fbd Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 17 Oct 2019 23:31:47 +0300 Subject: [PATCH] Fixed wrong shift --- ext/opcache/jit/zend_jit_x86.dasc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc index 445b9cf356..d2f4a90017 100644 --- a/ext/opcache/jit/zend_jit_x86.dasc +++ b/ext/opcache/jit/zend_jit_x86.dasc @@ -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) { -- 2.50.1