summaryrefslogtreecommitdiff
path: root/src/passes/Print.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r--src/passes/Print.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp
index 2288b6914..abe68f13d 100644
--- a/src/passes/Print.cpp
+++ b/src/passes/Print.cpp
@@ -2786,7 +2786,8 @@ void PrintSExpression::maybePrintUnreachableReplacement(Expression* curr,
// Emit a block with drops of the children.
o << "(block";
if (!minify) {
- o << " ;; (replaces something unreachable we can't emit)";
+ o << " ;; (replaces unreachable " << getExpressionName(curr)
+ << " we can't emit)";
}
incIndent();
for (auto* child : ChildIterator(curr)) {