solidity/test/cmdlineTests/keccak_optimization_deploy_code/output
2022-03-14 14:48:00 +01:00

32 lines
1.0 KiB
Plaintext

Optimized IR:
/// @use-src 0:"keccak_optimization_deploy_code/input.sol"
object "C_12" {
code {
{
/// @src 0:62:463 "contract C {..."
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")
codecopy(128, dataoffset("C_12_deployed"), _1)
return(128, _1)
}
}
/// @use-src 0:"keccak_optimization_deploy_code/input.sol"
object "C_12_deployed" {
code {
{
/// @src 0:62:463 "contract C {..."
if callvalue() { revert(0, 0) }
/// @src 0:317:454 "assembly {..."
sstore(0, 17385872270140913825666367956517731270094621555228275961425792378517567244498)
/// @src 0:62:463 "contract C {..."
stop()
}
}
data ".metadata" hex"<BYTECODE REMOVED>"
}
}