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

16 lines
260 B
Plaintext

// Even if the functions pass the equality check, they are not movable.
{
function f() -> a { }
let b := sub(f(), f())
mstore(0, b)
}
// ====
// step: fullSimplify
// ----
// {
// function f() -> a
// {
// }
// mstore(0, sub(f(), f()))
// }