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

19 lines
277 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)
}
}
// ----
// step: expressionJoiner
//
2018-10-01 16:27:07 +00:00
// {
2021-11-09 12:25:25 +00:00
// { }
2018-10-01 16:27:07 +00:00
// function f(a) -> x
// {
// a := mload(2)
// x := add(a, 3)
// }
// }