mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
27 lines
444 B
Plaintext
27 lines
444 B
Plaintext
{
|
|
let a := 1
|
|
let b := codesize()
|
|
for { } lt(1, codesize()) { mstore(1, codesize()) a := add(a, codesize()) } {
|
|
mstore(1, codesize())
|
|
}
|
|
mstore(1, codesize())
|
|
}
|
|
// ====
|
|
// step: commonSubexpressionEliminator
|
|
// ----
|
|
// {
|
|
// let a := 1
|
|
// let b := codesize()
|
|
// for {
|
|
// }
|
|
// lt(1, b)
|
|
// {
|
|
// mstore(1, b)
|
|
// a := add(a, b)
|
|
// }
|
|
// {
|
|
// mstore(1, b)
|
|
// }
|
|
// mstore(1, b)
|
|
// }
|