summaryrefslogtreecommitdiff
path: root/lib/VMCore/AsmWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-07-09 18:03:13 +0000
committerChris Lattner <sabre@nondot.org>2011-07-09 18:03:13 +0000
commit145ab1071123c711242ac665bdcf80004f504d9b (patch)
tree7804a4bcfac2cb9bace5a853cec59ea4a97e29cf /lib/VMCore/AsmWriter.cpp
parent368381e9ab590369213bbad690d2ff6f21b2144f (diff)
downloadllvm-145ab1071123c711242ac665bdcf80004f504d9b.tar.gz
llvm-145ab1071123c711242ac665bdcf80004f504d9b.tar.bz2
llvm-145ab1071123c711242ac665bdcf80004f504d9b.tar.xz
Eliminate the WriteTypeSymbolic function. Now that types know
their names, we don't need a module around to print them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134835 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/AsmWriter.cpp')
-rw-r--r--lib/VMCore/AsmWriter.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp
index 18776dd5a0..9278e58c2f 100644
--- a/lib/VMCore/AsmWriter.cpp
+++ b/lib/VMCore/AsmWriter.cpp
@@ -290,11 +290,6 @@ void TypePrinting::printStructBody(StructType *STy, raw_ostream &OS) {
-void llvm::WriteTypeSymbolic(raw_ostream &OS, const Type *Ty, const Module *M) {
- // FIXME: remove this function.
- OS << *Ty;
-}
-
//===----------------------------------------------------------------------===//
// SlotTracker Class: Enumerate slot numbers for unnamed values
//===----------------------------------------------------------------------===//