solidity/test/libyul/yulOptimizerTests/fullSuite/no_move_loop_orig.yul
2019-12-03 21:38:20 +01:00

25 lines
486 B
Plaintext

{
for {} msize() {
function foo_s_0() -> x_1 { for {} caller() {} {} }
// x_3 used to be a movable loop invariant because `foo_s_0()` used to be movable
let x_3 := foo_s_0()
mstore(192, x_3)
}
{}
}
// ====
// step: fullSuite
// ----
// {
// {
// for { }
// 1
// {
// for { } iszero(iszero(caller())) { }
// { }
// mstore(192, 0)
// }
// { if iszero(msize()) { break } }
// }
// }