aboutsummaryrefslogtreecommitdiffstats
path: root/libyul/optimiser/ExpressionSplitter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libyul/optimiser/ExpressionSplitter.cpp')
-rw-r--r--libyul/optimiser/ExpressionSplitter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libyul/optimiser/ExpressionSplitter.cpp b/libyul/optimiser/ExpressionSplitter.cpp
index dab0545f..a2ecc546 100644
--- a/libyul/optimiser/ExpressionSplitter.cpp
+++ b/libyul/optimiser/ExpressionSplitter.cpp
@@ -56,14 +56,14 @@ void ExpressionSplitter::operator()(Switch& _switch)
{
outlineExpression(*_switch.expression);
for (auto& _case: _switch.cases)
- // Do not visit the case expression, nothing to break there.
+ // Do not visit the case expression, nothing to split there.
(*this)(_case.body);
}
void ExpressionSplitter::operator()(ForLoop& _loop)
{
(*this)(_loop.pre);
- // Do not visit the condition because we cannot break expressions there.
+ // Do not visit the condition because we cannot split expressions there.
(*this)(_loop.post);
(*this)(_loop.body);
}