aboutsummaryrefslogtreecommitdiffstats
path: root/libyul/optimiser
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-10-15 18:51:50 +0800
committerchriseth <chris@ethereum.org>2018-10-15 18:51:50 +0800
commit0664772ece60749e606ee94eb073206340cbb08c (patch)
treef91e0bca8d83e536a3a1d65f219af78acb24e395 /libyul/optimiser
parentb2b845d6def4d28215c5d591589555bd8f4ea6ab (diff)
downloaddexon-solidity-0664772ece60749e606ee94eb073206340cbb08c.tar.gz
dexon-solidity-0664772ece60749e606ee94eb073206340cbb08c.tar.zst
dexon-solidity-0664772ece60749e606ee94eb073206340cbb08c.zip
Some renaming leftovers.
Diffstat (limited to 'libyul/optimiser')
-rw-r--r--libyul/optimiser/ExpressionJoiner.cpp2
-rw-r--r--libyul/optimiser/ExpressionSplitter.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/libyul/optimiser/ExpressionJoiner.cpp b/libyul/optimiser/ExpressionJoiner.cpp
index 3dfab371..c3957497 100644
--- a/libyul/optimiser/ExpressionJoiner.cpp
+++ b/libyul/optimiser/ExpressionJoiner.cpp
@@ -56,7 +56,7 @@ void ExpressionJoiner::operator()(Switch& _switch)
{
visit(*_switch.expression);
for (auto& _case: _switch.cases)
- // Do not visit the case expression, nothing to unbreak there.
+ // Do not visit the case expression, nothing to join there.
(*this)(_case.body);
}
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);
}