aboutsummaryrefslogtreecommitdiffhomepage
path: root/ir/dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'ir/dump.c')
-rw-r--r--ir/dump.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ir/dump.c b/ir/dump.c
index a04e833..d580a26 100644
--- a/ir/dump.c
+++ b/ir/dump.c
@@ -4,7 +4,7 @@
static int nextdat;
-static struct wbuf *out;
+static struct wbuf *out = &bstdout;
static bool
prilitdat(const struct irdat *dat, const char *prefix)
@@ -267,8 +267,6 @@ irdump(struct function *fn)
{
struct block *blk;
- out = &bstdout;
-
/* print datas that have never been printed before */
while (nextdat < dattab.n) pridat(&dattab.p[nextdat++]);