mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
118 lines
4.6 KiB
Plaintext
118 lines
4.6 KiB
Plaintext
|
|
======= viair_subobjects/input.sol:C =======
|
|
Binary:
|
|
60806040523415600f5760006000fd5b600a80601e600039806000f350fe608060405260006000fd
|
|
Binary of the runtime part:
|
|
608060405260006000fd
|
|
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_3" {
|
|
code {
|
|
{
|
|
mstore(64, 128)
|
|
if callvalue() { revert(0, 0) }
|
|
let _1 := datasize("C_3_deployed")
|
|
codecopy(0, dataoffset("C_3_deployed"), _1)
|
|
return(0, _1)
|
|
}
|
|
}
|
|
object "C_3_deployed" {
|
|
code {
|
|
{
|
|
mstore(64, 128)
|
|
revert(0, 0)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
======= viair_subobjects/input.sol:D =======
|
|
Binary:
|
|
608060405234156100105760006000fd5b60fb80610020600039806000f350fe6080604052600436101515610087576000803560e01c6326121ff0141561008557341561002a578081fd5b806003193601121561003a578081fd5b6028806080016080811067ffffffffffffffff8211171561005e5761005d6100b9565b5b50806100d360803980608083f01515610079573d82833e3d82fd5b5080610083610091565bf35b505b60006000fd6100d1565b6000604051905067ffffffffffffffff8111156100b1576100b06100b9565b5b806040525b90565b634e487b7160e01b600052604160045260246000fd5b565bfe60806040523415600f5760006000fd5b600a80601e600039806000f350fe608060405260006000fd
|
|
Binary of the runtime part:
|
|
6080604052600436101515610087576000803560e01c6326121ff0141561008557341561002a578081fd5b806003193601121561003a578081fd5b6028806080016080811067ffffffffffffffff8211171561005e5761005d6100b9565b5b50806100d360803980608083f01515610079573d82833e3d82fd5b5080610083610091565bf35b505b60006000fd6100d1565b6000604051905067ffffffffffffffff8111156100b1576100b06100b9565b5b806040525b90565b634e487b7160e01b600052604160045260246000fd5b565bfe60806040523415600f5760006000fd5b600a80601e600039806000f350fe608060405260006000fd
|
|
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_16" {
|
|
code {
|
|
{
|
|
mstore(64, 128)
|
|
if callvalue() { revert(0, 0) }
|
|
let _1 := datasize("D_16_deployed")
|
|
codecopy(0, dataoffset("D_16_deployed"), _1)
|
|
return(0, _1)
|
|
}
|
|
}
|
|
object "D_16_deployed" {
|
|
code {
|
|
{
|
|
mstore(64, 128)
|
|
if iszero(lt(calldatasize(), 4))
|
|
{
|
|
let _1 := 0
|
|
if eq(0x26121ff0, shr(224, calldataload(_1)))
|
|
{
|
|
if callvalue() { revert(_1, _1) }
|
|
if slt(add(calldatasize(), not(3)), _1) { revert(_1, _1) }
|
|
let _2 := datasize("C_3")
|
|
let _3 := add(128, _2)
|
|
if or(gt(_3, 0xffffffffffffffff), lt(_3, 128)) { panic_error_0x41() }
|
|
datacopy(128, dataoffset("C_3"), _2)
|
|
if iszero(create(_1, 128, _2))
|
|
{
|
|
returndatacopy(_1, _1, returndatasize())
|
|
revert(_1, returndatasize())
|
|
}
|
|
return(allocate_memory(), _1)
|
|
}
|
|
}
|
|
revert(0, 0)
|
|
}
|
|
function allocate_memory() -> memPtr
|
|
{
|
|
memPtr := mload(64)
|
|
if gt(memPtr, 0xffffffffffffffff) { panic_error_0x41() }
|
|
mstore(64, memPtr)
|
|
}
|
|
function panic_error_0x41()
|
|
{
|
|
mstore(0, shl(224, 0x4e487b71))
|
|
mstore(4, 0x41)
|
|
revert(0, 0x24)
|
|
}
|
|
}
|
|
object "C_3" {
|
|
code {
|
|
{
|
|
mstore(64, 128)
|
|
if callvalue() { revert(0, 0) }
|
|
let _1 := datasize("C_3_deployed")
|
|
codecopy(0, dataoffset("C_3_deployed"), _1)
|
|
return(0, _1)
|
|
}
|
|
}
|
|
object "C_3_deployed" {
|
|
code {
|
|
{
|
|
mstore(64, 128)
|
|
revert(0, 0)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|