Set the endLoc field on switch statements.