summaryrefslogtreecommitdiff
path: root/src/passes/Vacuum.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/Vacuum.cpp')
-rw-r--r--src/passes/Vacuum.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/passes/Vacuum.cpp b/src/passes/Vacuum.cpp
index 3f27fb36a..bb6c7c296 100644
--- a/src/passes/Vacuum.cpp
+++ b/src/passes/Vacuum.cpp
@@ -225,6 +225,7 @@ struct Vacuum : public WalkerPass<PostWalker<Vacuum>> {
child = curr->ifFalse;
typeUpdater.noteRecursiveRemoval(curr->ifTrue);
} else {
+ typeUpdater.noteRecursiveRemoval(curr);
ExpressionManipulator::nop(curr);
return;
}