aboutsummaryrefslogtreecommitdiffstats
path: root/test/libjulia/yulOptimizerTests/expressionJoiner/multi_reference.yul
blob: 078a12a56325911c9a92de4311702832370bd2d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
{
    // This is not joined because a is referenced multiple times
    let a := mload(2)
    let b := add(a, a)
}
// ----
// expressionJoiner
// {
//     let a := mload(2)
//     let b := add(a, a)
// }