com php-src: Prevent setting of incorrect continuation counters: ext/opcache/jit/zend_jit_trace.c
| From: | Dmitry Stogov | Date: | Mon, 27 Jul 2020 11:45:02 +0000 |
| Subject: | com php-src: Prevent setting of incorrect continuation counters: ext/opcache/jit/zend_jit_trace.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-112374@lists.php.net to get a copy of this message | ||
Commit: 52cebf65f8594c15904edc11a0b38b4b382a0d5d
Author: Dmitry Stogov <dmitry@zend.com> Mon, 27 Jul 2020 14:45:02 +0300
Parents: f62ec5cf6c2fe0150ac6972d56d772ff0dd94e57
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=52cebf65f8594c15904edc11a0b38b4b382a0d5d
Log:
Prevent setting of incorrect continuation counters
Changed paths:
M ext/opcache/jit/zend_jit_trace.c
Diff:
diff --git a/ext/opcache/jit/zend_jit_trace.c b/ext/opcache/jit/zend_jit_trace.c
index 345bd50418..8af466c9e4 100644
--- a/ext/opcache/jit/zend_jit_trace.c
+++ b/ext/opcache/jit/zend_jit_trace.c
@@ -4583,8 +4583,6 @@ done:
if (opline->opcode == ZEND_DO_UCALL
|| opline->opcode == ZEND_DO_FCALL
|| opline->opcode == ZEND_DO_FCALL_BY_NAME
- || opline->opcode == ZEND_GENERATOR_CREATE
- || opline->opcode == ZEND_GENERATOR_RETURN
|| opline->opcode == ZEND_YIELD
|| opline->opcode == ZEND_YIELD_FROM
|| opline->opcode == ZEND_INCLUDE_OR_EVAL) {