solidity/test/libyul/yulOptimizerTests/rematerialiser/reassign.yul

23 lines
344 B
Plaintext
Raw Normal View History

2018-10-11 15:59:45 +00:00
{
let a := extcodesize(0)
let b := a
let c := b
a := 2
let d := add(b, c)
pop(a) pop(b) pop(c) pop(d)
}
// ----
// step: rematerialiser
//
2018-10-11 15:59:45 +00:00
// {
// let a := extcodesize(0)
// let b := a
// let c := a
// a := 2
// let d := add(b, c)
// pop(2)
// pop(b)
// pop(c)
// pop(add(b, c))
// }