2021-03-12 17:05:05 +00:00
|
|
|
Optimized IR:
|
2021-05-27 20:05:21 +00:00
|
|
|
/*=====================================================*
|
2021-03-12 17:05:05 +00:00
|
|
|
* WARNING *
|
|
|
|
* Solidity to Yul compilation is still EXPERIMENTAL *
|
|
|
|
* It can result in LOSS OF FUNDS or worse *
|
|
|
|
* !USE AT YOUR OWN RISK! *
|
2021-05-27 20:05:21 +00:00
|
|
|
*=====================================================*/
|
2021-03-12 17:05:05 +00:00
|
|
|
|
2021-08-31 10:57:13 +00:00
|
|
|
/// @use-src 0:"keccak_optimization_low_runs/input.sol"
|
2021-03-12 17:05:05 +00:00
|
|
|
object "C_7" {
|
|
|
|
code {
|
|
|
|
{
|
2021-08-31 13:10:40 +00:00
|
|
|
/// @src 0:62:285 "contract C {..."
|
2021-09-15 15:01:40 +00:00
|
|
|
let _1 := memoryguard(0x80)
|
|
|
|
mstore(64, _1)
|
2021-03-12 17:05:05 +00:00
|
|
|
if callvalue() { revert(0, 0) }
|
2021-09-15 15:01:40 +00:00
|
|
|
let _2 := datasize("C_7_deployed")
|
|
|
|
codecopy(_1, dataoffset("C_7_deployed"), _2)
|
|
|
|
return(_1, _2)
|
2021-03-12 17:05:05 +00:00
|
|
|
}
|
|
|
|
}
|
2021-08-31 10:57:13 +00:00
|
|
|
/// @use-src 0:"keccak_optimization_low_runs/input.sol"
|
2021-03-12 17:05:05 +00:00
|
|
|
object "C_7_deployed" {
|
|
|
|
code {
|
|
|
|
{
|
2021-08-31 13:10:40 +00:00
|
|
|
/// @src 0:62:285 "contract C {..."
|
2021-03-12 17:05:05 +00:00
|
|
|
mstore(64, 128)
|
|
|
|
if callvalue() { revert(0, 0) }
|
2021-08-31 13:10:40 +00:00
|
|
|
/// @src 0:109:277 "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:285 "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
|
|
|
}
|
|
|
|
}
|