Fix the loop/break labels used in the range optimization.
Issue #1524: Support a switching implementation.
Issue #1524: Bulk update .src now we're using a switching implementation