mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
21 lines
643 B
Plaintext
21 lines
643 B
Plaintext
{
|
|
// This is not fully simplified on purpose because we
|
|
// need another split step in between. The full simplification
|
|
// is tested in the fullSuite.
|
|
let a := and(create2(0, 0, 0x20, 0), 0xffffffffffffffffffffffffffffffffffffffff)
|
|
let b := and(0xffffffffffffffffffffffffffffffffffffffff, create2(0, 0, 0x20, 0))
|
|
sstore(a, b)
|
|
}
|
|
// ====
|
|
// EVMVersion: >=constantinople
|
|
// ----
|
|
// step: expressionSimplifier
|
|
//
|
|
// {
|
|
// let _1 := 0xffffffffffffffffffffffffffffffffffffffff
|
|
// let _2 := 0
|
|
// let _3 := 0x20
|
|
// let a := and(create2(_2, _2, _3, _2), _1)
|
|
// sstore(a, and(_1, create2(_2, _2, _3, _2)))
|
|
// }
|