Update optimiser readme.

This commit is contained in:
chriseth
2019-03-12 22:02:09 +01:00
parent cfefa2c1d1
commit 62d8080a19
3 changed files with 516 additions and 62 deletions
+2 -2
View File
@@ -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(