From b7c6244dfc94a95ae9eb18a04b30d85306f335dd Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 25 Mar 2020 13:22:01 +0300 Subject: [PATCH] Add new line before basic-block labels (except for the first BB0) --- ext/opcache/Optimizer/zend_dump.c | 3 +++ 1 file changed, 3 insertions(+) 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"); -- 2.50.1