mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Eliminate the WriteTypeSymbolic function. Now that types know
their names, we don't need a module around to print them. llvm-svn: 134835
This commit is contained in:
parent
f0f71ca28b
commit
60e47d6d24
@ -24,12 +24,6 @@ class Module;
|
|||||||
class Value;
|
class Value;
|
||||||
class raw_ostream;
|
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
|
// 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
|
// 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,
|
// whole instruction that generated it. If you specify a Module for context,
|
||||||
|
@ -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
|
// SlotTracker Class: Enumerate slot numbers for unnamed values
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user