2021-01-14 12:02:14 +00:00
|
|
|
|
|
|
|
======= optimizer_inliner_dynamic_reference/input.sol:C =======
|
|
|
|
EVM assembly:
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":60:367 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 {
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":60:367 contract C {... */
|
|
|
|
mstore(0x40, 0x80)
|
|
|
|
callvalue
|
|
|
|
dup1
|
|
|
|
iszero
|
|
|
|
tag_1
|
|
|
|
jumpi
|
|
|
|
0x00
|
|
|
|
dup1
|
|
|
|
revert
|
|
|
|
tag_1:
|
|
|
|
pop
|
|
|
|
jumpi(tag_2, lt(calldatasize, 0x04))
|
|
|
|
shr(0xe0, calldataload(0x00))
|
|
|
|
dup1
|
|
|
|
0x0dbe671f
|
|
|
|
eq
|
|
|
|
tag_3
|
|
|
|
jumpi
|
|
|
|
dup1
|
|
|
|
0xb8c9d365
|
|
|
|
eq
|
|
|
|
tag_4
|
|
|
|
jumpi
|
|
|
|
dup1
|
|
|
|
0xe2179b8e
|
|
|
|
eq
|
|
|
|
tag_5
|
|
|
|
jumpi
|
|
|
|
tag_2:
|
|
|
|
0x00
|
|
|
|
dup1
|
|
|
|
revert
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":160:215 function a() public pure returns (uint) { return f(); } */
|
|
|
|
tag_3:
|
2021-03-15 18:29:41 +00:00
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":361:362 6 */
|
|
|
|
0x06
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":160:215 function a() public pure returns (uint) { return f(); } */
|
2021-01-14 12:02:14 +00:00
|
|
|
tag_6:
|
|
|
|
mload(0x40)
|
|
|
|
/* "#utility.yul":160:185 */
|
|
|
|
swap1
|
|
|
|
dup2
|
|
|
|
mstore
|
|
|
|
/* "#utility.yul":148:150 */
|
|
|
|
0x20
|
|
|
|
/* "#utility.yul":133:151 */
|
|
|
|
add
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":160:215 function a() public pure returns (uint) { return f(); } */
|
|
|
|
mload(0x40)
|
|
|
|
dup1
|
|
|
|
swap2
|
|
|
|
sub
|
|
|
|
swap1
|
|
|
|
return
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":246:305 function h() public view returns (uint) { return x() + 1; } */
|
|
|
|
tag_4:
|
|
|
|
tag_6
|
|
|
|
tag_11
|
|
|
|
jump // in
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":125:155 function g() public { x = f; } */
|
|
|
|
tag_5:
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":147:148 x */
|
|
|
|
0x00
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":147:152 x = f */
|
|
|
|
dup1
|
|
|
|
sload
|
|
|
|
not(0xffffffffffffffff)
|
|
|
|
and
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":151:152 f */
|
|
|
|
tag_17
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":147:152 x = f */
|
|
|
|
or
|
|
|
|
swap1
|
|
|
|
sstore
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":125:155 function g() public { x = f; } */
|
|
|
|
stop
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":209:212 f() */
|
|
|
|
tag_16:
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":202:212 return f() */
|
|
|
|
swap1
|
|
|
|
pop
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":160:215 function a() public pure returns (uint) { return f(); } */
|
|
|
|
swap1
|
|
|
|
jump // out
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":246:305 function h() public view returns (uint) { return x() + 1; } */
|
|
|
|
tag_11:
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":280:284 uint */
|
|
|
|
0x00
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":295:296 x */
|
|
|
|
dup1
|
|
|
|
sload
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":295:298 x() */
|
|
|
|
tag_19
|
|
|
|
swap1
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":295:296 x */
|
|
|
|
dup1
|
|
|
|
iszero
|
|
|
|
tag_20
|
|
|
|
mul
|
|
|
|
or
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":295:298 x() */
|
|
|
|
0xffffffff
|
|
|
|
and
|
|
|
|
jump // in
|
|
|
|
tag_19:
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":295:302 x() + 1 */
|
|
|
|
tag_16
|
|
|
|
swap1
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":301:302 1 */
|
|
|
|
0x01
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":295:302 x() + 1 */
|
|
|
|
tag_22
|
|
|
|
jump // in
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":310:365 function f() internal pure returns (uint) { return 6; } */
|
|
|
|
tag_17:
|
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":361:362 6 */
|
|
|
|
0x06
|
|
|
|
swap1
|
2021-03-15 18:29:41 +00:00
|
|
|
/* "optimizer_inliner_dynamic_reference/input.sol":310:365 function f() internal pure returns (uint) { return 6; } */
|
2021-01-14 12:02:14 +00:00
|
|
|
jump // out
|
|
|
|
tag_20:
|
2021-05-26 16:14:02 +00:00
|
|
|
tag_25
|
|
|
|
tag_26
|
|
|
|
jump // in
|
|
|
|
tag_25:
|
|
|
|
jump // out
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":196:418 */
|
2021-01-14 12:02:14 +00:00
|
|
|
tag_22:
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":261:270 */
|
|
|
|
dup1
|
2021-01-14 12:02:14 +00:00
|
|
|
dup3
|
2022-06-03 20:04:16 +00:00
|
|
|
add
|
|
|
|
/* "#utility.yul":282:292 */
|
|
|
|
dup1
|
2021-01-14 12:02:14 +00:00
|
|
|
dup3
|
|
|
|
gt
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":279:412 */
|
2021-01-14 12:02:14 +00:00
|
|
|
iszero
|
2021-05-26 16:14:02 +00:00
|
|
|
tag_30
|
2021-01-14 12:02:14 +00:00
|
|
|
jumpi
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":334:344 */
|
2021-04-13 10:08:11 +00:00
|
|
|
0x4e487b71
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":329:332 */
|
2021-04-13 10:08:11 +00:00
|
|
|
0xe0
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":325:345 */
|
2021-04-13 10:08:11 +00:00
|
|
|
shl
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":322:323 */
|
2021-04-13 10:08:11 +00:00
|
|
|
0x00
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":315:346 */
|
2021-01-14 12:02:14 +00:00
|
|
|
mstore
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":369:373 */
|
2021-01-14 12:02:14 +00:00
|
|
|
0x11
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":366:367 */
|
2021-01-14 12:02:14 +00:00
|
|
|
0x04
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":359:374 */
|
2021-01-14 12:02:14 +00:00
|
|
|
mstore
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":397:401 */
|
2021-01-14 12:02:14 +00:00
|
|
|
0x24
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":394:395 */
|
2021-04-13 10:08:11 +00:00
|
|
|
0x00
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":387:402 */
|
2021-01-14 12:02:14 +00:00
|
|
|
revert
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":279:412 */
|
2021-05-26 16:14:02 +00:00
|
|
|
tag_30:
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":196:418 */
|
|
|
|
swap3
|
|
|
|
swap2
|
|
|
|
pop
|
2021-01-14 12:02:14 +00:00
|
|
|
pop
|
|
|
|
jump // out
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":423:550 */
|
2021-05-26 16:14:02 +00:00
|
|
|
tag_26:
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":484:494 */
|
2021-05-26 16:14:02 +00:00
|
|
|
0x4e487b71
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":479:482 */
|
2021-05-26 16:14:02 +00:00
|
|
|
0xe0
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":475:495 */
|
2021-05-26 16:14:02 +00:00
|
|
|
shl
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":472:473 */
|
2021-05-26 16:14:02 +00:00
|
|
|
0x00
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":465:496 */
|
2021-05-26 16:14:02 +00:00
|
|
|
mstore
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":515:519 */
|
2021-05-26 16:14:02 +00:00
|
|
|
0x51
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":512:513 */
|
2021-05-26 16:14:02 +00:00
|
|
|
0x04
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":505:520 */
|
2021-05-26 16:14:02 +00:00
|
|
|
mstore
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":539:543 */
|
2021-05-26 16:14:02 +00:00
|
|
|
0x24
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":536:537 */
|
2021-05-26 16:14:02 +00:00
|
|
|
0x00
|
2022-06-03 20:04:16 +00:00
|
|
|
/* "#utility.yul":529:544 */
|
2021-05-26 16:14:02 +00:00
|
|
|
revert
|
2021-01-14 12:02:14 +00:00
|
|
|
|
|
|
|
auxdata: <AUXDATA REMOVED>
|
|
|
|
}
|