solidity/test/libyul/yulOptimizerTests/expressionJoiner/only_assignment.yul

18 lines
271 B
Plaintext
Raw Normal View History

2018-10-01 16:27:07 +00:00
{
// This is not joined because a is referenced multiple times
function f(a) -> x {
a := mload(2)
x := add(a, 3)
}
}
2019-04-01 14:33:46 +00:00
// ====
// step: expressionJoiner
2018-10-01 16:27:07 +00:00
// ----
// {
// function f(a) -> x
// {
// a := mload(2)
// x := add(a, 3)
// }
// }