diff options
author | chriseth <chris@ethereum.org> | 2018-11-08 02:27:15 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-11-08 06:09:33 +0800 |
commit | 845899e3052cd2ff26ead7d503f0e1edd8654d02 (patch) | |
tree | b1683eefae794dc7337b3d8943125b4fdc22e777 /test/libyul/yulOptimizerTests/ssaPlusCleanup | |
parent | deed8e21f6149a9712ebd77556cdb6e3b4b9c566 (diff) | |
download | dexon-solidity-845899e3052cd2ff26ead7d503f0e1edd8654d02.tar.gz dexon-solidity-845899e3052cd2ff26ead7d503f0e1edd8654d02.tar.zst dexon-solidity-845899e3052cd2ff26ead7d503f0e1edd8654d02.zip |
Use single counter for name dispenser for performance reasons.
Diffstat (limited to 'test/libyul/yulOptimizerTests/ssaPlusCleanup')
-rw-r--r-- | test/libyul/yulOptimizerTests/ssaPlusCleanup/control_structures.yul | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/libyul/yulOptimizerTests/ssaPlusCleanup/control_structures.yul b/test/libyul/yulOptimizerTests/ssaPlusCleanup/control_structures.yul index 51d1627f..d2408343 100644 --- a/test/libyul/yulOptimizerTests/ssaPlusCleanup/control_structures.yul +++ b/test/libyul/yulOptimizerTests/ssaPlusCleanup/control_structures.yul @@ -17,19 +17,19 @@ // let length_1 := mload(from) // length := length_1 // mstore(to, length_1) -// let from_1 := add(from, 0x20) -// let to_1 := add(to, 0x20) +// let from_2 := add(from, 0x20) +// let to_3 := add(to, 0x20) // for { -// let x_1 := 1 -// let x := x_1 +// let x_4 := 1 +// let x := x_4 // } // lt(x, length_1) // { -// let x_2 := add(x, 0x20) -// x := x_2 +// let x_5 := add(x, 0x20) +// x := x_5 // } // { -// mstore(add(to_1, x), mload(add(from_1, x))) +// mstore(add(to_3, x), mload(add(from_2, x))) // } // } // } |