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

15 lines
228 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 := mload(a)
a := 4
}
2019-04-01 14:33:46 +00:00
// ====
// step: expressionJoiner
2018-10-01 16:27:07 +00:00
// ----
// {
// let a := mload(2)
// let b := mload(a)
// a := 4
// }