solidity/test/libyul/yulOptimizerTests/deadCodeEliminator/early_stop.yul

25 lines
276 B
Plaintext
Raw Normal View History

2019-03-28 13:18:17 +00:00
{
let b := 20
stop()
for {
let a := 20
}
lt(a, 40)
{
a := add(a, 2)
}
{
a := a
mstore(0, a)
a := add(a, 10)
}
}
2019-04-01 14:33:46 +00:00
// ====
// step: deadCodeEliminator
2019-03-28 13:18:17 +00:00
// ----
// {
// let b := 20
// stop()
// }