Checks if there are no calls to defer in loops.