com php-src: Skip first basic block (we skiped it before): ext/opcache/Optimizer/block_pass.c

From: Date: Tue, 17 Nov 2015 16:02:39 +0000
Subject: com php-src: Skip first basic block (we skiped it before): ext/opcache/Optimizer/block_pass.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-89888@lists.php.net to get a copy of this message
Commit: 6cb3d90f0fd94c7d1824589a3ce60cf5d8a035ad Author: Dmitry Stogov <dmitry@zend.com> Tue, 17 Nov 2015 19:02:39 +0300 Parents: e603769ceecc50706dc3e49e680681c658d7e510 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6cb3d90f0fd94c7d1824589a3ce60cf5d8a035ad Log: Skip first basic block (we skiped it before) Changed paths: M ext/opcache/Optimizer/block_pass.c Diff: diff --git a/ext/opcache/Optimizer/block_pass.c b/ext/opcache/Optimizer/block_pass.c index 8627fa7..3855bdc 100644 --- a/ext/opcache/Optimizer/block_pass.c +++ b/ext/opcache/Optimizer/block_pass.c @@ -1732,7 +1732,7 @@ static void zend_t_usage(zend_cfg *cfg, zend_op_array *op_array, zend_bitset use usage = zend_arena_calloc(&ctx->arena, bitset_len, ZEND_BITSET_ELM_SIZE); defined_here = zend_arena_alloc(&ctx->arena, bitset_len * ZEND_BITSET_ELM_SIZE); - for (block = cfg->blocks; block; block = block->next) { + for (block = cfg->blocks->next; block; block = block->next) { if (!block->access) { continue;

« previous php.cvs (#89888) next »