solidity/test/libyul/yulOptimizerTests/reasoningBasedSimplifier/arith_non_movable.yul

24 lines
317 B
Plaintext
Raw Normal View History

2020-05-11 17:56:29 +00:00
{
function f() -> z
{
sstore(1, 15)
z := 15
}
let x := 7
let y := 8
if eq(add(x, y), f()) { }
}
// ----
// step: reasoningBasedSimplifier
//
// {
// function f() -> z
// {
// sstore(1, 15)
// z := 15
// }
// let x := 7
// let y := 8
// if eq(add(x, y), f()) { }
// }