summaryrefslogtreecommitdiff
path: root/ext/opcache
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2020-03-25 13:22:01 +0300
committerDmitry Stogov <dmitry@zend.com>2020-03-25 14:26:42 +0300
commitb7c6244dfc94a95ae9eb18a04b30d85306f335dd (patch)
tree9415bee66f412658d6ea2ff1daa0883584eeb881 /ext/opcache
parent0684b9fcdcad4f0f02d40d763f5fa7751eb561bb (diff)
downloadphp-git-b7c6244dfc94a95ae9eb18a04b30d85306f335dd.tar.gz
Add new line before basic-block labels (except for the first BB0)
Diffstat (limited to 'ext/opcache')
-rw-r--r--ext/opcache/Optimizer/zend_dump.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/opcache/Optimizer/zend_dump.c b/ext/opcache/Optimizer/zend_dump.c
index e06128457a..dfd939f332 100644
--- a/ext/opcache/Optimizer/zend_dump.c
+++ b/ext/opcache/Optimizer/zend_dump.c
@@ -734,6 +734,9 @@ static void zend_dump_block_info(const zend_cfg *cfg, int n, uint32_t dump_flags
{
zend_basic_block *b = cfg->blocks + n;
+ if (n > 0) {
+ fprintf(stderr, "\n");
+ }
fprintf(stderr, "BB%d:\n ;", n);
if (b->flags & ZEND_BB_START) {
fprintf(stderr, " start");