solidity/test/cmdlineTests/object_compiler/output
Kamil Śliwak 3c4273a06c cmdlineTests: Use .yul extension for Yul files
- Currently many files have .sol extension because originally the test script required it but this has changed some time ago.
2020-11-05 18:05:23 +01:00

68 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:
33600055600b806012600039806000f350fe60005460005260206000f3
Text representation:
/* "object_compiler/input.yul":128:136 */
caller
/* "object_compiler/input.yul":125:126 */
0x00
/* "object_compiler/input.yul":118:137 */
sstore
dataSize(sub_0)
/* "object_compiler/input.yul":240:259 */
dup1
dataOffset(sub_0)
/* "object_compiler/input.yul":125:126 */
0x00
/* "object_compiler/input.yul":205:260 */
codecopy
/* "object_compiler/input.yul":275:294 */
dup1
/* "object_compiler/input.yul":125:126 */
0x00
/* "object_compiler/input.yul":265:295 */
return
pop
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
}