mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
56 lines
1.5 KiB
Plaintext
56 lines
1.5 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_6" {
|
||
|
code {
|
||
|
{
|
||
|
mstore(64, 128)
|
||
|
if callvalue() { revert(0, 0) }
|
||
|
let _1 := datasize("C_6_deployed")
|
||
|
codecopy(0, dataoffset("C_6_deployed"), _1)
|
||
|
return(0, _1)
|
||
|
}
|
||
|
}
|
||
|
object "C_6_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_9" {
|
||
|
code {
|
||
|
{
|
||
|
mstore(64, 128)
|
||
|
if callvalue() { revert(0, 0) }
|
||
|
let _1 := datasize("D_9_deployed")
|
||
|
codecopy(0, dataoffset("D_9_deployed"), _1)
|
||
|
return(0, _1)
|
||
|
}
|
||
|
}
|
||
|
object "D_9_deployed" {
|
||
|
code {
|
||
|
{
|
||
|
mstore(64, 128)
|
||
|
revert(0, 0)
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|