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

15 lines
222 B
Plaintext
Raw Normal View History

2018-10-11 15:59:45 +00:00
// We cannot substitute `a` in `let b := a`
{
let a := extcodesize(0)
a := mul(a, 2)
let b := a
}
2019-04-01 14:33:46 +00:00
// ====
// step: rematerialiser
2018-10-11 15:59:45 +00:00
// ----
// {
// let a := extcodesize(0)
// a := mul(a, 2)
// let b := a
// }