solidity/test/cmdlineTests/keccak_optimization_deploy_code/output
Alex Beregszaszi 0b6f87ef3c Update tests
2021-05-31 10:43:18 +01:00

43 lines
1.3 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! *
*******************************************************/
object "C_12" {
code {
{
mstore(64, 128)
if callvalue()
{
mstore(0, shl(224, 0x4e487b71))
mstore(4, 0x02)
revert(0, 0x24)
}
mstore(0, 100)
sstore(0, keccak256(0, 32))
let _1 := datasize("C_12_deployed")
codecopy(128, dataoffset("C_12_deployed"), _1)
return(128, _1)
}
}
object "C_12_deployed" {
code {
{
mstore(64, 128)
if callvalue()
{
mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)
mstore(4, 0x02)
revert(0, 0x24)
}
mstore(0, 100)
sstore(0, 17385872270140913825666367956517731270094621555228275961425792378517567244498)
stop()
}
}
}
}