com php-src: Fixed wrong shift: ext/opcache/jit/zend_jit_x 86.dasc
| From: | Dmitry Stogov | Date: | Thu, 17 Oct 2019 20:31:47 +0000 |
| Subject: | com php-src: Fixed wrong shift: ext/opcache/jit/zend_jit_x 86.dasc | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-108936@lists.php.net to get a copy of this message | ||
Commit: 65c4cc231df4df6321182c0a47e996cb22407fbd
Author: Dmitry Stogov <dmitry@zend.com> Thu, 17 Oct 2019 23:31:47 +0300
Parents: e80934d747f57268b5739f12222010e7ba25c766
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=65c4cc231df4df6321182c0a47e996cb22407fbd
Log:
Fixed wrong shift
Changed paths:
M ext/opcache/jit/zend_jit_x86.dasc
Diff:
diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc
index 445b9cf356e..d2f4a900175 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) {