com php-src: Fixed JIT failure, on ZTS build without global register vatriables: ext/opcache/jit/zend_jit_x86.dasc
| From: | Dmitry Stogov | Date: | Tue, 18 Jun 2019 10:52:52 +0000 |
| Subject: | com php-src: Fixed JIT failure, on ZTS build without global register vatriables: ext/opcache/jit/zend_jit_x86.dasc | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-106866@lists.php.net to get a copy of this message | ||
Commit: 22b2d9d088e4a125fc4f4fc776c946c3c4a7b5bb
Author: Dmitry Stogov <dmitry@zend.com> Tue, 18 Jun 2019 13:52:52 +0300
Parents: 41067a22e91b6a31b9910e1fa83531deb225c343
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=22b2d9d088e4a125fc4f4fc776c946c3c4a7b5bb
Log:
Fixed JIT failure, on ZTS build without global register vatriables
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 38e2e77..8ed02ce 100644
--- a/ext/opcache/jit/zend_jit_x86.dasc
+++ b/ext/opcache/jit/zend_jit_x86.dasc
@@ -241,7 +241,7 @@ static void* dasm_labels[zend_lb_MAX];
| mov IP, aword [IP + (struct.._offset + offsetof(zend_..struct, field))]
|| } else {
| LOAD_TSRM_CACHE RX
-| mov RX, aword [RX + (struct.._offset + offsetof(zend_..struct, field))]
+| lea RX, aword [RX + (struct.._offset + offsetof(zend_..struct, field))]
| mov aword EX->opline, RX
|| }
| .else