From 0547edb5c239a8cbfb7a1d16d85ee365480527dd Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Fri, 9 Jan 2015 11:53:47 +0800 Subject: Fixed bug (try block removed while combined with xdebug) --- ext/opcache/Optimizer/block_pass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/opcache/Optimizer/block_pass.c b/ext/opcache/Optimizer/block_pass.c index fff5d7e101..649d613317 100644 --- a/ext/opcache/Optimizer/block_pass.c +++ b/ext/opcache/Optimizer/block_pass.c @@ -1578,7 +1578,7 @@ next_target: } /* 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); -- cgit v1.2.1