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

15 lines
229 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)
}
// ----
// step: expressionJoiner
//
2018-10-01 16:27:07 +00:00
// {
2021-11-09 12:25:25 +00:00
// {
// let a := mload(2)
// let b := add(a, a)
// }
2018-10-01 16:27:07 +00:00
// }