Set isBarrier = 1 on return instructions, as they are control barriers.