diff options
author | Chris Lattner <sabre@nondot.org> | 2011-07-09 18:03:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-07-09 18:03:13 +0000 |
commit | 145ab1071123c711242ac665bdcf80004f504d9b (patch) | |
tree | 7804a4bcfac2cb9bace5a853cec59ea4a97e29cf | |
parent | 368381e9ab590369213bbad690d2ff6f21b2144f (diff) | |
download | llvm-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
-rw-r--r-- | include/llvm/Assembly/Writer.h | 6 | ||||
-rw-r--r-- | lib/VMCore/AsmWriter.cpp | 5 |
2 files changed, 0 insertions, 11 deletions
diff --git a/include/llvm/Assembly/Writer.h b/include/llvm/Assembly/Writer.h index 78c27f03a2..8d8befd472 100644 --- a/include/llvm/Assembly/Writer.h +++ b/include/llvm/Assembly/Writer.h @@ -24,12 +24,6 @@ class Module; class Value; class raw_ostream; -// WriteTypeSymbolic - This attempts to write the specified type as a symbolic -// type, if there is an entry in the Module's symbol table for the specified -// type or one of its component types. -// -void WriteTypeSymbolic(raw_ostream &, const Type *, const Module *M); - // WriteAsOperand - Write the name of the specified value out to the specified // ostream. This can be useful when you just want to print int %reg126, not the // whole instruction that generated it. If you specify a Module for context, 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 //===----------------------------------------------------------------------===// |