[llvm-commits] [llvm] r134835 - in /llvm/trunk: include/llvm/Assembly/Writer.h lib/VMCore/AsmWriter.cpp
Chris Lattner
sabre at nondot.org
Sat Jul 9 11:03:13 PDT 2011
Author: lattner
Date: Sat Jul 9 13:03:13 2011
New Revision: 134835
URL: http://llvm.org/viewvc/llvm-project?rev=134835&view=rev
Log:
Eliminate the WriteTypeSymbolic function. Now that types know
their names, we don't need a module around to print them.
Modified:
llvm/trunk/include/llvm/Assembly/Writer.h
llvm/trunk/lib/VMCore/AsmWriter.cpp
Modified: llvm/trunk/include/llvm/Assembly/Writer.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Assembly/Writer.h?rev=134835&r1=134834&r2=134835&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Assembly/Writer.h (original)
+++ llvm/trunk/include/llvm/Assembly/Writer.h Sat Jul 9 13:03:13 2011
@@ -24,12 +24,6 @@
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,
Modified: llvm/trunk/lib/VMCore/AsmWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/AsmWriter.cpp?rev=134835&r1=134834&r2=134835&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/AsmWriter.cpp (original)
+++ llvm/trunk/lib/VMCore/AsmWriter.cpp Sat Jul 9 13:03:13 2011
@@ -290,11 +290,6 @@
-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
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list