mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update optimiser readme.
This commit is contained in:
@@ -64,8 +64,8 @@ void UnusedPruner::operator()(Block& _block)
|
||||
{
|
||||
VariableDeclaration& varDecl = boost::get<VariableDeclaration>(statement);
|
||||
// Multi-variable declarations are special. We can only remove it
|
||||
// if all vairables are unused and the right-hand-side is either
|
||||
// movable or it return a single value. In the latter case, we
|
||||
// if all variables are unused and the right-hand-side is either
|
||||
// movable or it returns a single value. In the latter case, we
|
||||
// replace `let a := f()` by `pop(f())` (in pure Yul, this will be
|
||||
// `drop(f())`).
|
||||
if (boost::algorithm::none_of(
|
||||
|
||||
Reference in New Issue
Block a user