aboutsummaryrefslogtreecommitdiffstats
path: root/test/libjulia/yulOptimizerTests/expressionJoiner/single_wrong_order.yul
blob: 3b433f78bb4993924a309e789a53163977b78ba9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{
    let a := mload(3)
    let b := sload(a)
    let c := mload(7)
    let d := add(b, c)
    sstore(d, 0)
}
// ----
// expressionJoiner
// {
//     let b := sload(mload(3))
//     sstore(add(b, mload(7)), 0)
// }