diff options
Diffstat (limited to 'test/libyul/yulOptimizerTests/fullSuite/abi_example1.yul')
-rw-r--r-- | test/libyul/yulOptimizerTests/fullSuite/abi_example1.yul | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/test/libyul/yulOptimizerTests/fullSuite/abi_example1.yul b/test/libyul/yulOptimizerTests/fullSuite/abi_example1.yul index a3d59ff4..efb846f2 100644 --- a/test/libyul/yulOptimizerTests/fullSuite/abi_example1.yul +++ b/test/libyul/yulOptimizerTests/fullSuite/abi_example1.yul @@ -463,12 +463,11 @@ // let _2 := 0 // let _485 := mload(_2) // let abi_encode_pos := _1 -// let abi_encode_end_67_610 // let abi_encode_length_68 := mload(_485) // mstore(_1, abi_encode_length_68) // abi_encode_pos := 64 // let abi_encode_srcPtr := add(_485, _1) -// let abi_encode_i_69 := abi_encode_end_67_610 +// let abi_encode_i_69 := _2 // for { // } // lt(abi_encode_i_69, abi_encode_length_68) @@ -476,21 +475,21 @@ // abi_encode_i_69 := add(abi_encode_i_69, 1) // } // { -// let _857 := mload(abi_encode_srcPtr) -// let abi_encode_pos_71_965 := abi_encode_pos -// let abi_encode_length_72_966 := 0x3 -// let abi_encode_srcPtr_73_967 := _857 -// let abi_encode_i_74_968 := _2 +// let _863 := mload(abi_encode_srcPtr) +// let abi_encode_pos_71_971 := abi_encode_pos +// let abi_encode_length_72_972 := 0x3 +// let abi_encode_srcPtr_73_973 := _863 +// let abi_encode_i_74_974 := _2 // for { // } -// lt(abi_encode_i_74_968, abi_encode_length_72_966) +// lt(abi_encode_i_74_974, abi_encode_length_72_972) // { -// abi_encode_i_74_968 := add(abi_encode_i_74_968, 1) +// abi_encode_i_74_974 := add(abi_encode_i_74_974, 1) // } // { -// mstore(abi_encode_pos_71_965, and(mload(abi_encode_srcPtr_73_967), 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)) -// abi_encode_srcPtr_73_967 := add(abi_encode_srcPtr_73_967, _1) -// abi_encode_pos_71_965 := add(abi_encode_pos_71_965, _1) +// mstore(abi_encode_pos_71_971, and(mload(abi_encode_srcPtr_73_973), 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)) +// abi_encode_srcPtr_73_973 := add(abi_encode_srcPtr_73_973, _1) +// abi_encode_pos_71_971 := add(abi_encode_pos_71_971, _1) // } // abi_encode_srcPtr := add(abi_encode_srcPtr, _1) // abi_encode_pos := add(abi_encode_pos, 0x60) |