]> granicus.if.org Git - php/commit
Fixed bug #74431
authorNikita Popov <nikita.ppv@gmail.com>
Fri, 14 Apr 2017 19:58:35 +0000 (21:58 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 14 Apr 2017 20:03:06 +0000 (22:03 +0200)
commit3ffe2cd251731d68493becf8ebbe6312ee86bb8d
treefa22385f060013f14794c93fc295d98837bff7c7
parent5d095f80c9348ec4948f9024236eadafb46ff6b5
Fixed bug #74431

If the last instruction in a block is a NOP, then `new_opline`
here won't be a copy of `opline`, it will be a copy of the last
non-NOP opline. Avoid performing a spurious update by explicitly
checking for NOP.
NEWS
ext/opcache/Optimizer/dfa_pass.c