mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
44da8507b1
Co-authored-by: Rodrigo Q. Saramago <rodrigoqsaramago@gmail.com>
66 lines
1.5 KiB
Plaintext
66 lines
1.5 KiB
Plaintext
|
|
======= object_compiler/input.yul (EVM) =======
|
|
|
|
Pretty printed source:
|
|
object "MyContract" {
|
|
code {
|
|
{
|
|
sstore(0, caller())
|
|
let _1 := datasize("Runtime")
|
|
datacopy(0, dataoffset("Runtime"), _1)
|
|
return(0, _1)
|
|
}
|
|
}
|
|
object "Runtime" {
|
|
code {
|
|
{
|
|
mstore(0, sload(0))
|
|
return(0, 0x20)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
Binary representation:
|
|
335f55600880600d5f395ff3fe5f545f5260205ff3
|
|
|
|
Text representation:
|
|
/* "object_compiler/input.yul":128:136 */
|
|
caller
|
|
/* "object_compiler/input.yul":125:126 */
|
|
0x00
|
|
/* "object_compiler/input.yul":118:137 */
|
|
sstore
|
|
/* "object_compiler/input.yul":240:259 */
|
|
dataSize(sub_0)
|
|
/* "object_compiler/input.yul":217:238 */
|
|
dup1
|
|
dataOffset(sub_0)
|
|
/* "object_compiler/input.yul":125:126 */
|
|
0x00
|
|
/* "object_compiler/input.yul":205:260 */
|
|
codecopy
|
|
/* "object_compiler/input.yul":125:126 */
|
|
0x00
|
|
/* "object_compiler/input.yul":265:295 */
|
|
return
|
|
stop
|
|
|
|
sub_0: assembly {
|
|
/* "object_compiler/input.yul":397:398 */
|
|
0x00
|
|
/* "object_compiler/input.yul":391:399 */
|
|
sload
|
|
/* "object_compiler/input.yul":397:398 */
|
|
0x00
|
|
/* "object_compiler/input.yul":381:400 */
|
|
mstore
|
|
/* "object_compiler/input.yul":417:421 */
|
|
0x20
|
|
/* "object_compiler/input.yul":397:398 */
|
|
0x00
|
|
/* "object_compiler/input.yul":407:422 */
|
|
return
|
|
}
|