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

13 lines
208 B
Plaintext
Raw Normal View History

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