2021-03-17 10:12:28 +00:00
|
|
|
Optimized IR:
|
2021-05-27 20:05:21 +00:00
|
|
|
/*=====================================================*
|
2021-03-17 10:12:28 +00:00
|
|
|
* WARNING *
|
|
|
|
* Solidity to Yul compilation is still EXPERIMENTAL *
|
|
|
|
* It can result in LOSS OF FUNDS or worse *
|
|
|
|
* !USE AT YOUR OWN RISK! *
|
2021-05-27 20:05:21 +00:00
|
|
|
*=====================================================*/
|
2021-03-17 10:12:28 +00:00
|
|
|
|
2021-08-31 10:57:13 +00:00
|
|
|
/// @use-src 0:"constant_optimizer_yul/input.sol"
|
2021-03-17 10:12:28 +00:00
|
|
|
object "C_12" {
|
|
|
|
code {
|
|
|
|
{
|
2021-07-13 14:06:07 +00:00
|
|
|
/// @src 0:61:418
|
2021-03-17 10:12:28 +00:00
|
|
|
mstore(64, 128)
|
|
|
|
if callvalue() { revert(0, 0) }
|
2021-07-13 14:06:07 +00:00
|
|
|
/// @src 0:103:238
|
2021-03-17 10:12:28 +00:00
|
|
|
sstore(0, shl(180, 1))
|
2021-07-13 14:06:07 +00:00
|
|
|
/// @src 0:61:418
|
2021-03-17 10:12:28 +00:00
|
|
|
let _1 := datasize("C_12_deployed")
|
2021-04-29 09:43:27 +00:00
|
|
|
codecopy(128, dataoffset("C_12_deployed"), _1)
|
|
|
|
return(128, _1)
|
2021-03-17 10:12:28 +00:00
|
|
|
}
|
|
|
|
}
|
2021-08-31 10:57:13 +00:00
|
|
|
/// @use-src 0:"constant_optimizer_yul/input.sol"
|
2021-03-17 10:12:28 +00:00
|
|
|
object "C_12_deployed" {
|
|
|
|
code {
|
|
|
|
{
|
2021-07-13 14:06:07 +00:00
|
|
|
/// @src 0:61:418
|
2021-03-17 10:12:28 +00:00
|
|
|
mstore(64, 128)
|
|
|
|
if callvalue() { revert(0, 0) }
|
2021-07-13 14:06:07 +00:00
|
|
|
/// @src 0:279:410
|
2021-03-17 10:12:28 +00:00
|
|
|
sstore(0, 0x1000000000000000000000000000000000000000000000)
|
2021-07-13 14:06:07 +00:00
|
|
|
/// @src 0:61:418
|
2021-03-17 10:12:28 +00:00
|
|
|
stop()
|
|
|
|
}
|
|
|
|
}
|
2021-06-08 14:35:37 +00:00
|
|
|
data ".metadata" hex"<BYTECODE REMOVED>"
|
2021-03-17 10:12:28 +00:00
|
|
|
}
|
|
|
|
}
|