Many high-performance processors have a dedicated branch predictor for indirect branches, commonly used with jump tables. As sophisticated as such branch predictors are, they tend to have well defined limits beyond which their effectiveness is hampered or even nullified. One such limit is the number of possible destinations for a given indirect branches that such branch predictors can handle.
This patch considers a limit that a target may set to the number of destination addresses in a jump table.
I prefer the old comment as it explains specifically what the element at index i represents.