Bug 825599 - Specialize type of switch's conditions. r=h4writer