Skip to content

Commit

Permalink
Fixed bug (try block removed while combined with xdebug)
Browse files Browse the repository at this point in the history
  • Loading branch information
laruence committed Jan 9, 2015
1 parent 16b6f6c commit 0547edb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
(Ashesh Vashi)

- Opcache:
. Fixed bug (try block removed while combined with xdebug). (Laruence)
. Fixed bug #68644 (strlen incorrect : mbstring + func_overload=2 +UTF-8
+ Opcache). (Laruence)
. Fixed bug #67111 (Memory leak when using "continue 2" inside two foreach
Expand Down
2 changes: 1 addition & 1 deletion ext/opcache/Optimizer/block_pass.c
Original file line number Diff line number Diff line change
Expand Up @@ -1578,7 +1578,7 @@ static void zend_jmp_optimization(zend_code_block *block, zend_op_array *op_arra
}

/* next block is only NOP's */
if (target == target_end) {
if (target == target_end && ! block->follow_to->protected) {
del_source(block, block->follow_to);
block->follow_to = block->follow_to->follow_to;
ADD_SOURCE(block, block->follow_to);
Expand Down

0 comments on commit 0547edb

Please sign in to comment.