flow: set __cur_stmt and __prev_stmt inside for loops