aboutsummaryrefslogtreecommitdiffstats
path: root/test/libjulia/yulOptimizerTests/rematerialiser/non_movable_instruction.yul
blob: 8767abc95585040ebd5d11dca16d61d365587463 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
    let a := 1
    let b := mload(a)
    let c := a
    mstore(add(a, b), c)
}
// ----
// rematerialiser
// {
//     let a := 1
//     let b := mload(1)
//     let c := 1
//     mstore(add(1, b), 1)
// }