Make yul a setting.

This commit is contained in:
chriseth
2019-04-03 14:58:20 +02:00
parent aeb260cde1
commit e3d7a34c2c
284 changed files with 623 additions and 318 deletions
@@ -3,8 +3,9 @@
let y := calldataload(calldataload(9))
mstore(y, add(add(add(add(add(add(add(add(add(add(add(add(add(add(add(add(add(add(y, 1), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1))
}
// ====
// step: stackCompressor
// ----
// stackCompressor
// {
// mstore(calldataload(calldataload(9)), add(add(add(add(add(add(add(add(add(add(add(add(add(add(add(add(add(add(calldataload(calldataload(9)), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1))
// }
@@ -5,8 +5,9 @@
mstore(y, add(add(add(add(add(add(add(add(add(add(add(add(add(add(add(add(add(add(y, 1), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1), 1))
}
}
// ====
// step: stackCompressor
// ----
// stackCompressor
// {
// let x := 8
// function f()
@@ -2,8 +2,9 @@
let x := 8
function f() { let y := 9 }
}
// ====
// step: stackCompressor
// ----
// stackCompressor
// {
// let x := 8
// function f()