summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit8e8fd77c7518d38ba0237a432ca7a28942d3cb5d (patch)
treecf2014c58ac495afb875104f094c6fd07d2f40e5 /llvm/lib/VMCore/AsmWriter.cpp
parent13879a709138ae2e723a6ec1427ff542177c3ad6 (diff)
downloadbcm5719-llvm-8e8fd77c7518d38ba0237a432ca7a28942d3cb5d.tar.gz
bcm5719-llvm-8e8fd77c7518d38ba0237a432ca7a28942d3cb5d.zip
Eliminate the WriteTypeSymbolic function. Now that types know
their names, we don't need a module around to print them. llvm-svn: 134835
Diffstat (limited to 'llvm/lib/VMCore/AsmWriter.cpp')
-rw-r--r--llvm/lib/VMCore/AsmWriter.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp
index 18776dd5a02..9278e58c2fc 100644
--- a/llvm/lib/VMCore/AsmWriter.cpp
+++ b/llvm/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
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud