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

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