aboutsummaryrefslogtreecommitdiffstats
path: root/libyul/optimiser/UnusedPruner.h
diff options
context:
space:
mode:
Diffstat (limited to 'libyul/optimiser/UnusedPruner.h')
-rw-r--r--libyul/optimiser/UnusedPruner.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libyul/optimiser/UnusedPruner.h b/libyul/optimiser/UnusedPruner.h
index 2dd74940..b5aea3dd 100644
--- a/libyul/optimiser/UnusedPruner.h
+++ b/libyul/optimiser/UnusedPruner.h
@@ -32,10 +32,8 @@ namespace yul
{
/**
- * Optimisation stage that removes unused variables and functions.
- *
- * TODO: Also remove intermediate variable assignments from movable expressions
- * which are not referenced until after the next assignment to the same variable.
+ * Optimisation stage that removes unused variables and functions and also
+ * removes movable expression statements.
*
* Note that this does not remove circular references.
*