mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
276 B
Plaintext
15 lines
276 B
Plaintext
{
|
|
// This does not replace b by a because there is no
|
|
// explicit assignment, even though both hold the same value.
|
|
let a
|
|
let b
|
|
mstore(sub(a, b), 7)
|
|
}
|
|
// ----
|
|
// commonSubexpressionEliminator
|
|
// {
|
|
// let a
|
|
// let b
|
|
// mstore(sub(a, b), 7)
|
|
// }
|