Take the fast path for any named value and any GlobalValue, which doesn't
authorDan Gohman <gohman@apple.com>
Thu, 13 Aug 2009 23:07:11 +0000 (23:07 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 13 Aug 2009 23:07:11 +0000 (23:07 +0000)
commit009fc9e5d9058a1d3b64bf5cacb29d4f0c952ca5
tree40638490d9f3c0f0230a35877c37d313f364f839
parent1d0be15f89cb5056e20e2d24faa8d6afb1573bca
Take the fast path for any named value and any GlobalValue, which doesn't
need TypePrinting despite being a subclass of Constant. This fixes
compile-time problems especially visible on 403.gcc when -asm-verbose is
enabled.

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