mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
16 lines
244 B
Plaintext
16 lines
244 B
Plaintext
{
|
|
let x := calldataload(0)
|
|
let a := shl(sub(256, 8), signextend(0, x))
|
|
sstore(0, a)
|
|
}
|
|
// ====
|
|
// EVMVersion: >=constantinople
|
|
// ----
|
|
// step: fullSuite
|
|
//
|
|
// {
|
|
// {
|
|
// sstore(0, shl(248, calldataload(0)))
|
|
// }
|
|
// }
|