aboutsummaryrefslogtreecommitdiffstats
path: root/test/libyul/yulOptimizerTests/fullInliner/long_names.yul
blob: 644e912640213d35f1f53f516996d3fff74a2ce0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
    function verylongfunctionname(verylongvariablename) -> verylongvariablename2 {
        verylongvariablename2 := add(verylongvariablename, verylongvariablename)
    }
    // same long name
    let verylongvariablename2 := 3
    mstore(0, verylongfunctionname(verylongvariablename2))
    mstore(1, verylongvariablename2)
}
// ----
// fullInliner
// {
//     {
//         let verylongvariablename2_1 := 3
//         let verylongfu_verylongvariablename := verylongvariablename2_1
//         let verylongfu_verylongvariablename2
//         verylongfu_verylongvariablename2 := add(verylongfu_verylongvariablename, verylongfu_verylongvariablename)
//         mstore(0, verylongfu_verylongvariablename2)
//         mstore(1, verylongvariablename2_1)
//     }
//     function verylongfunctionname(verylongvariablename) -> verylongvariablename2
//     {
//         verylongvariablename2 := add(verylongvariablename, verylongvariablename)
//     }
// }