solidity/test/cmdlineTests/constant_optimizer_yul/output

32 lines
971 B
Plaintext
Raw Normal View History

Optimized IR:
/*=====================================================*
* WARNING *
* Solidity to Yul compilation is still EXPERIMENTAL *
* It can result in LOSS OF FUNDS or worse *
* !USE AT YOUR OWN RISK! *
*=====================================================*/
object "C_12" {
code {
{
mstore(64, 128)
if callvalue() { revert(0, 0) }
sstore(0, shl(180, 1))
let _1 := datasize("C_12_deployed")
2021-04-29 09:43:27 +00:00
codecopy(128, dataoffset("C_12_deployed"), _1)
return(128, _1)
}
}
object "C_12_deployed" {
code {
{
mstore(64, 128)
if callvalue() { revert(0, 0) }
sstore(0, 0x1000000000000000000000000000000000000000000000)
stop()
}
}
2021-06-08 14:35:37 +00:00
data ".metadata" hex"<BYTECODE REMOVED>"
}
}