mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
20 lines
330 B
Plaintext
20 lines
330 B
Plaintext
{
|
|
// x is not in SSA form
|
|
let x := 10
|
|
if calldataload(0) {
|
|
x := 25
|
|
}
|
|
let y := 20
|
|
// Should not be removed because x is not in SSA form
|
|
mstore(x, y)
|
|
}
|
|
// ----
|
|
// step: memoryStoreRemover
|
|
//
|
|
// {
|
|
// let x := 10
|
|
// if calldataload(0) { x := 25 }
|
|
// let y := 20
|
|
// mstore(x, y)
|
|
// }
|