solidity/test/cmdlineTests/constant_optimizer_yul/output
2021-09-06 18:33:05 +02:00

40 lines
1.2 KiB
Plaintext

Optimized IR:
/*=====================================================*
* WARNING *
* Solidity to Yul compilation is still EXPERIMENTAL *
* It can result in LOSS OF FUNDS or worse *
* !USE AT YOUR OWN RISK! *
*=====================================================*/
/// @use-src 0:"constant_optimizer_yul/input.sol"
object "C_12" {
code {
{
/// @src 0:61:418
mstore(64, 128)
if callvalue() { revert(0, 0) }
/// @src 0:103:238
sstore(0, shl(180, 1))
/// @src 0:61:418
let _1 := datasize("C_12_deployed")
codecopy(128, dataoffset("C_12_deployed"), _1)
return(128, _1)
}
}
/// @use-src 0:"constant_optimizer_yul/input.sol"
object "C_12_deployed" {
code {
{
/// @src 0:61:418
mstore(64, 128)
if callvalue() { revert(0, 0) }
/// @src 0:279:410
sstore(0, 0x1000000000000000000000000000000000000000000000)
/// @src 0:61:418
stop()
}
}
data ".metadata" hex"<BYTECODE REMOVED>"
}
}