From 07c4e7b75f91e1d332a33073838098e23befe8c4 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 21 Apr 2016 16:06:33 -0700 Subject: fix nop printing in br_table --- src/passes/Print.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/passes/Print.cpp') diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index 59ade1c76..bb89b2720 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -181,9 +181,7 @@ struct PrintSExpression : public Visitor { } o << " " << curr->default_; incIndent(); - if (curr->value) { - printFullLine(curr->value); - } + if (curr->value && !curr->value->is()) printFullLine(curr->value); printFullLine(curr->condition); decIndent(); } -- cgit v1.2.3