Skip to content

Commit aa5b3b0

Browse files
committed
Merge branch 'PHP-5.6'
2 parents 7b4808a + 0547edb commit aa5b3b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/Optimizer/block_pass.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1469,7 +1469,7 @@ static void zend_jmp_optimization(zend_code_block *block, zend_op_array *op_arra
14691469
}
14701470

14711471
/* next block is only NOP's */
1472-
if (target == target_end) {
1472+
if (target == target_end && ! block->follow_to->protected) {
14731473
del_source(block, block->follow_to);
14741474
block->follow_to = block->follow_to->follow_to;
14751475
ADD_SOURCE(block, block->follow_to);

0 commit comments

Comments
 (0)