com php-src: Fixed invalid type: ext/opcache/Optimizer/sccp.c
| From: | Dmitry Stogov | Date: | Wed, 04 Oct 2017 13:06:57 +0000 |
| Subject: | com php-src: Fixed invalid type: ext/opcache/Optimizer/sccp.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99627@lists.php.net to get a copy of this message | ||
Commit: e7afdb0668ef9001ed276e5dd5879e06746d42e3
Author: Dmitry Stogov <dmitry@zend.com> Wed, 4 Oct 2017 16:06:57 +0300
Parents: b611878bb849fcf8c1707a8163d6a5e2e6cbce74
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e7afdb0668ef9001ed276e5dd5879e06746d42e3
Log:
Fixed invalid type
Changed paths:
M ext/opcache/Optimizer/sccp.c
Diff:
diff --git a/ext/opcache/Optimizer/sccp.c b/ext/opcache/Optimizer/sccp.c
index 1ece45d..ff3fc74 100644
--- a/ext/opcache/Optimizer/sccp.c
+++ b/ext/opcache/Optimizer/sccp.c
@@ -2019,7 +2019,7 @@ static int try_remove_definition(sccp_ctx *ctx, int var_num, zend_ssa_var
*var,
&& opline->opcode != ZEND_ADD_ARRAY_ELEMENT) {
/* Replace with QM_ASSIGN */
zend_uchar old_type = opline->result_type;
- zend_uchar old_var = opline->result.var;
+ uint32_t old_var = opline->result.var;
ssa_op->result_def = -1;
zend_optimizer_remove_live_range_ex(op_array, opline->result.var, var->definition);