mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Refactoring yul source locations.
This commit is contained in:
@@ -41,7 +41,7 @@ void FunctionHoister::operator()(Block& _block)
|
||||
if (holds_alternative<FunctionDefinition>(statement))
|
||||
{
|
||||
m_functions.emplace_back(std::move(statement));
|
||||
statement = Block{_block.location, {}};
|
||||
statement = Block{_block.debugData, {}};
|
||||
}
|
||||
}
|
||||
removeEmptyBlocks(_block);
|
||||
|
||||
Reference in New Issue
Block a user