diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2017-11-03 14:06:27 +0900 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2017-11-03 17:49:42 +0000 |
commit | 21dbd2ffcd6522325d23a77bcae1c2d123a553b2 (patch) | |
tree | f04bcc0087dd436f01247ca6f7466bf5d285b4d2 /ext/opcache | |
parent | 91c7460c53b41cc62b6b64d65058ee476689b2ad (diff) | |
download | php-git-21dbd2ffcd6522325d23a77bcae1c2d123a553b2.tar.gz |
fix wrong check of definition_phi->constraint.range.max_ssa_var
Diffstat (limited to 'ext/opcache')
-rw-r--r-- | ext/opcache/Optimizer/zend_inference.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/Optimizer/zend_inference.c b/ext/opcache/Optimizer/zend_inference.c index 1d142566ab..5d27c9413b 100644 --- a/ext/opcache/Optimizer/zend_inference.c +++ b/ext/opcache/Optimizer/zend_inference.c @@ -1590,7 +1590,7 @@ static void zend_infer_ranges_warmup(const zend_op_array *op_array, zend_ssa *ss ssa->vars[j].definition_phi->has_range_constraint && ssa->vars[j].definition_phi->constraint.range.negative && ssa->vars[j].definition_phi->constraint.range.min_ssa_var < 0 && - ssa->vars[j].definition_phi->constraint.range.min_ssa_var < 0) { + ssa->vars[j].definition_phi->constraint.range.max_ssa_var < 0) { zend_ssa_range_constraint *constraint = &ssa->vars[j].definition_phi->constraint.range; if (tmp.min == ssa->var_info[j].range.min && |