mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
44da8507b1
Co-authored-by: Rodrigo Q. Saramago <rodrigoqsaramago@gmail.com>
23 lines
460 B
Plaintext
23 lines
460 B
Plaintext
{
|
|
let x := calldataload(0)
|
|
let y := calldataload(0)
|
|
let z := sub(y, x)
|
|
sstore(add(x, 0), z)
|
|
}
|
|
// ====
|
|
// optimizationPreset: full
|
|
// ----
|
|
// Assembly:
|
|
// /* "source":26:27 */
|
|
// 0x00
|
|
// /* "source":13:28 */
|
|
// dup1
|
|
// calldataload
|
|
// /* "source":79:99 */
|
|
// sstore
|
|
// /* "source":0:101 */
|
|
// stop
|
|
// Bytecode: 5f80355500
|
|
// Opcodes: PUSH0 DUP1 CALLDATALOAD SSTORE STOP
|
|
// SourceMappings: 26:1:0:-:0;13:15;;79:20;0:101
|