solidity/test/cmdlineTests/dup_opt_peephole/output

53 lines
1001 B
Plaintext

======= dup_opt_peephole/input.sol:C =======
EVM assembly:
/* "dup_opt_peephole/input.sol":60:171 contract C {... */
mstore(0x40, 0x80)
callvalue
dup1
iszero
tag_1
jumpi
0x00
dup1
revert
tag_1:
pop
dataSize(sub_0)
dup1
dataOffset(sub_0)
0x00
codecopy
0x00
return
stop
sub_0: assembly {
/* "dup_opt_peephole/input.sol":60:171 contract C {... */
mstore(0x40, 0x80)
callvalue
dup1
iszero
tag_3
jumpi
0x00
dup1
revert
tag_3:
pop
/* "dup_opt_peephole/input.sol":134:135 0 */
0x00
/* "dup_opt_peephole/input.sol":121:136 calldataload(0) */
calldataload
/* "dup_opt_peephole/input.sol":160:161 x */
dup1
/* "dup_opt_peephole/input.sol":157:158 0 */
0x00
/* "dup_opt_peephole/input.sol":150:162 sstore(0, x) */
sstore
/* "dup_opt_peephole/input.sol":107:166 {... */
stop
auxdata: <AUXDATA REMOVED>
}