2021-03-12 17:05:05 +00:00
|
|
|
Optimized IR:
|
2021-08-31 10:57:13 +00:00
|
|
|
/// @use-src 0:"keccak_optimization_deploy_code/input.sol"
|
2021-03-12 17:05:05 +00:00
|
|
|
object "C_12" {
|
|
|
|
code {
|
|
|
|
{
|
2021-08-31 13:10:40 +00:00
|
|
|
/// @src 0:62:463 "contract C {..."
|
2021-03-12 17:05:05 +00:00
|
|
|
if callvalue() { revert(0, 0) }
|
2021-08-31 13:10:40 +00:00
|
|
|
/// @src 0:103:275 "assembly {..."
|
2021-03-12 17:05:05 +00:00
|
|
|
mstore(0, 100)
|
|
|
|
sstore(0, keccak256(0, 32))
|
2021-08-31 13:10:40 +00:00
|
|
|
/// @src 0:62:463 "contract C {..."
|
2021-03-12 17:05:05 +00:00
|
|
|
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-03-12 17:05:05 +00:00
|
|
|
}
|
|
|
|
}
|
2021-08-31 10:57:13 +00:00
|
|
|
/// @use-src 0:"keccak_optimization_deploy_code/input.sol"
|
2021-03-12 17:05:05 +00:00
|
|
|
object "C_12_deployed" {
|
|
|
|
code {
|
|
|
|
{
|
2021-08-31 13:10:40 +00:00
|
|
|
/// @src 0:62:463 "contract C {..."
|
2021-03-12 17:05:05 +00:00
|
|
|
if callvalue() { revert(0, 0) }
|
2021-08-31 13:10:40 +00:00
|
|
|
/// @src 0:317:454 "assembly {..."
|
2021-03-12 17:05:05 +00:00
|
|
|
sstore(0, 17385872270140913825666367956517731270094621555228275961425792378517567244498)
|
2021-08-31 13:10:40 +00:00
|
|
|
/// @src 0:62:463 "contract C {..."
|
2021-03-12 17:05:05 +00:00
|
|
|
stop()
|
|
|
|
}
|
|
|
|
}
|
2021-06-08 14:35:37 +00:00
|
|
|
data ".metadata" hex"<BYTECODE REMOVED>"
|
2021-03-12 17:05:05 +00:00
|
|
|
}
|
|
|
|
}
|