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

66 lines
1.7 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_7" {
code {
{
mstore(64, 128)
if callvalue()
{
mstore(0, shl(224, 0x4e487b71))
mstore(4, 0x02)
revert(0, 0x24)
}
let _1 := datasize("C_7_deployed")
codecopy(128, dataoffset("C_7_deployed"), _1)
return(128, _1)
}
}
object "C_7_deployed" {
code {
{
mstore(64, 128)
revert(0, 0)
}
}
}
}
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 "D_10" {
code {
{
mstore(64, 128)
if callvalue()
{
mstore(0, shl(224, 0x4e487b71))
mstore(4, 0x02)
revert(0, 0x24)
}
let _1 := datasize("D_10_deployed")
codecopy(128, dataoffset("D_10_deployed"), _1)
return(128, _1)
}
}
object "D_10_deployed" {
code {
{
mstore(64, 128)
revert(0, 0)
}
}
}
}