solidity/test/libyul/yulOptimizerTests/equivalentFunctionCombiner/simple_different_vars.yul
2019-04-03 14:58:20 +02:00

24 lines
406 B
Plaintext

{
pop(f())
pop(g())
function f() -> b { let a := mload(0) b := a }
function g() -> a { let b := mload(0) a := b }
}
// ====
// step: equivalentFunctionCombiner
// ----
// {
// pop(f())
// pop(f())
// function f() -> b
// {
// let a := mload(0)
// b := a
// }
// function g() -> a_1
// {
// let b_2 := mload(0)
// a_1 := b_2
// }
// }