solidity/test/cmdlineTests/keccak_optimization_deploy_code/output

42 lines
1.5 KiB
Plaintext
Raw Normal View History

Optimized IR:
/*=====================================================*
* WARNING *
* Solidity to Yul compilation is still EXPERIMENTAL *
* It can result in LOSS OF FUNDS or worse *
* !USE AT YOUR OWN RISK! *
*=====================================================*/
2021-08-31 10:57:13 +00:00
/// @use-src 0:"keccak_optimization_deploy_code/input.sol"
object "C_12" {
code {
{
/// @src 0:62:463 "contract C {..."
mstore(64, 128)
if callvalue() { revert(0, 0) }
/// @src 0:103:275 "assembly {..."
mstore(0, 100)
sstore(0, keccak256(0, 32))
/// @src 0:62:463 "contract C {..."
let _1 := datasize("C_12_deployed")
2021-04-29 09:43:27 +00:00
codecopy(128, dataoffset("C_12_deployed"), _1)
return(128, _1)
}
}
2021-08-31 10:57:13 +00:00
/// @use-src 0:"keccak_optimization_deploy_code/input.sol"
object "C_12_deployed" {
code {
{
/// @src 0:62:463 "contract C {..."
mstore(64, 128)
if callvalue() { revert(0, 0) }
/// @src 0:317:454 "assembly {..."
mstore(0, 100)
sstore(0, 17385872270140913825666367956517731270094621555228275961425792378517567244498)
/// @src 0:62:463 "contract C {..."
stop()
}
}
2021-06-08 14:35:37 +00:00
data ".metadata" hex"<BYTECODE REMOVED>"
}
}