Make get_suffix faster by using a switch on getTypeID rather than a series
authorReid Spencer <rspencer@reidspencer.com>
Thu, 19 Jan 2006 05:37:27 +0000 (05:37 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 19 Jan 2006 05:37:27 +0000 (05:37 +0000)
commitff696cc1fca94be3ace7de2eb3b9e52734149161
treed579a8768c39f529bf66876db9a895a7208e8f28
parent12f2274ba8c6af21e8b6c71ef872afe43a64b6d7
Make get_suffix faster by using a switch on getTypeID rather than a series
of comparisons on the various type objects.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25441 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/AutoUpgrade.cpp