Skip to content

Commit

Permalink
Avoid use _leave keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
r0qs committed Aug 26, 2024
1 parent 8830694 commit f023e23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libyul/backends/evm/SSAControlFlowGraphBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -366,12 +366,12 @@ void SSAControlFlowGraphBuilder::operator()(Continue const& _continue)
sealBlock(m_currentBlock);
}

void SSAControlFlowGraphBuilder::operator()(Leave const& _leave)
void SSAControlFlowGraphBuilder::operator()(Leave const& _leaveStatement)
{
yulAssert(m_currentFunction);
auto currentBlockDebugData = debugDataOf(currentBlock());
currentBlock().exit = SSACFG::BasicBlock::FunctionReturn{
debugDataOf(_leave),
debugDataOf(_leaveStatement),
m_currentFunction->returns | ranges::views::transform([&](auto _var) {
return readVariable(_var, m_currentBlock);
}) | ranges::to<std::vector>
Expand Down

0 comments on commit f023e23

Please sign in to comment.