solidity/test/libyul/yulOptimizerTests/commonSubexpressionEliminator/unassigned_variables.yul
2019-04-03 14:58:20 +02:00

16 lines
290 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)
}
// ====
// step: commonSubexpressionEliminator
// ----
// {
// let a
// let b
// mstore(sub(a, b), 7)
// }