diff options
author | Nikita Popov <nikic@php.net> | 2016-05-04 23:52:42 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2016-05-05 00:00:56 +0200 |
commit | 0691e7a8e15ace3ce186ceb8c27753325a5a956f (patch) | |
tree | 5f9d82ff7593d28f7bd5838285ad6312912e7e60 /ext/mbstring/php_mbregex.c | |
parent | 9af0c96af4ded5ac0935e6cc1a2fa253ce77dfac (diff) | |
download | php-git-0691e7a8e15ace3ce186ceb8c27753325a5a956f.tar.gz |
Fix JMPZ, JMPZNZ_EX chain optimization
The result_type was not copied, resulting in a corrupted JMPZ_EX.
Fix can be verified by inspecting the opcodes of the following
function (it should not contain any _EX opcodes):
function test() {
if ($a && $b) {
echo "a";
}
if ($b || $c || $d) {
echo "b";
}
}
Conflicts:
ext/opcache/Optimizer/block_pass.c
Diffstat (limited to 'ext/mbstring/php_mbregex.c')
0 files changed, 0 insertions, 0 deletions