File tree 3 files changed +4
-4
lines changed
test/libyul/yulOptimizerTests/fullInliner
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ void ExpressionJoiner::operator()(Switch& _switch)
56
56
{
57
57
visit (*_switch.expression );
58
58
for (auto & _case: _switch.cases )
59
- // Do not visit the case expression, nothing to unbreak there.
59
+ // Do not visit the case expression, nothing to join there.
60
60
(*this )(_case.body );
61
61
}
62
62
Original file line number Diff line number Diff line change @@ -56,14 +56,14 @@ void ExpressionSplitter::operator()(Switch& _switch)
56
56
{
57
57
outlineExpression (*_switch.expression );
58
58
for (auto & _case: _switch.cases )
59
- // Do not visit the case expression, nothing to break there.
59
+ // Do not visit the case expression, nothing to split there.
60
60
(*this )(_case.body );
61
61
}
62
62
63
63
void ExpressionSplitter::operator ()(ForLoop& _loop)
64
64
{
65
65
(*this )(_loop.pre );
66
- // Do not visit the condition because we cannot break expressions there.
66
+ // Do not visit the condition because we cannot split expressions there.
67
67
(*this )(_loop.post );
68
68
(*this )(_loop.body );
69
69
}
Original file line number Diff line number Diff line change 1
- // This tests that breaking the expression inside the condition works properly.
1
+ // This tests that splitting the expression inside the condition works properly.
2
2
{
3
3
if gt (f (mload (1 )), mload (0 )) {
4
4
sstore (0 , 2 )
You can’t perform that action at this time.
0 commit comments