mirror of
https://github.com/php/php-src.git
synced 2024-09-24 03:17:26 +00:00
Allow SSA construction with source information about CV used as result (DFG fix)
This commit is contained in:
parent
6af1ffb57d
commit
f07e4c033c
@ -191,6 +191,10 @@ op2_use:
|
||||
}
|
||||
if (opline->result_type & (IS_CV|IS_VAR|IS_TMP_VAR)) {
|
||||
var_num = EX_VAR_TO_NUM(opline->result.var);
|
||||
if ((build_flags & ZEND_SSA_USE_CV_RESULTS)
|
||||
&& opline->result_type == IS_CV) {
|
||||
DFG_SET(use, set_size, j, var_num);
|
||||
}
|
||||
DFG_SET(def, set_size, j, var_num);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user