mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
Optimized IR:
|
|
/*=====================================================*
|
|
* WARNING *
|
|
* Solidity to Yul compilation is still EXPERIMENTAL *
|
|
* It can result in LOSS OF FUNDS or worse *
|
|
* !USE AT YOUR OWN RISK! *
|
|
*=====================================================*/
|
|
|
|
/// @use-src 0:"keccak_optimization_low_runs/input.sol"
|
|
object "C_7" {
|
|
code {
|
|
{
|
|
/// @src 0:62:285 "contract C {..."
|
|
mstore(64, 128)
|
|
if callvalue() { revert(0, 0) }
|
|
let _1 := datasize("C_7_deployed")
|
|
codecopy(128, dataoffset("C_7_deployed"), _1)
|
|
return(128, _1)
|
|
}
|
|
}
|
|
/// @use-src 0:"keccak_optimization_low_runs/input.sol"
|
|
object "C_7_deployed" {
|
|
code {
|
|
{
|
|
/// @src 0:62:285 "contract C {..."
|
|
mstore(64, 128)
|
|
if callvalue() { revert(0, 0) }
|
|
/// @src 0:109:277 "assembly {..."
|
|
mstore(0, 100)
|
|
sstore(0, keccak256(0, 32))
|
|
/// @src 0:62:285 "contract C {..."
|
|
stop()
|
|
}
|
|
}
|
|
data ".metadata" hex"<BYTECODE REMOVED>"
|
|
}
|
|
}
|