Reduce code duplication by jumping to the appropriate case.
Reduce code duplication by jumping to the appropriate case.

[r27008]

libfirm/libfirm,jonashaag/libfirm,killbug2004/libfirm,8l/libfirm,8l/libfirm,MatzeB/libfirm,libfirm/libfirm,MatzeB/libfirm,8l/libfirm,davidgiven/libfirm,killbug2004/libfirm,libfirm/libfirm,jonashaag/libfirm,8l/libfirm,killbug2004/libfirm,MatzeB/libfirm,jonashaag/libfirm,8l/libfirm,MatzeB/libfirm,davidgiven/libfirm,davidgiven/libfirm,MatzeB/libfirm,8l/libfirm,MatzeB/libfirm,MatzeB/libfirm,libfirm/libfirm,jonashaag/libfirm,davidgiven/libfirm,killbug2004/libfirm,libfirm/libfirm,jonashaag/libfirm,davidgiven/libfirm,davidgiven/libfirm,killbug2004/libfirm,davidgiven/libfirm,jonashaag/libfirm,killbug2004/libfirm,jonashaag/libfirm,8l/libfirm,killbug2004/libfirm