Insertion of yield() call into appropriate place.