diff options
author | Chris Lattner <sabre@nondot.org> | 2009-09-03 05:46:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-09-03 05:46:51 +0000 |
commit | 684c593d05db0bd277268fc9d8c05bce138c745a (patch) | |
tree | bd14333e8ed905f9665b6df0ed1165d19b77acf8 /lib/MC/MCSymbol.cpp | |
parent | 5c5ce5cef4a9f09f5b25e08df1e0dd6c79908c0f (diff) |
Thread an MCAsmInfo pointer through the various MC printing APIs,
and fix a few things using << on MCSymbols to use ->print(). No
functionality change other than unbreaking my previous patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80890 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCSymbol.cpp')
-rw-r--r-- | lib/MC/MCSymbol.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MC/MCSymbol.cpp b/lib/MC/MCSymbol.cpp index 3c9894b691..3b1a41d48d 100644 --- a/lib/MC/MCSymbol.cpp +++ b/lib/MC/MCSymbol.cpp @@ -41,7 +41,7 @@ static inline bool NeedsQuoting(const StringRef &Str) { return false; } -void MCSymbol::print(raw_ostream &OS) const { +void MCSymbol::print(raw_ostream &OS, const MCAsmInfo *MAI) const { if (NeedsQuoting(getName())) OS << '"' << getName() << '"'; else @@ -49,5 +49,5 @@ void MCSymbol::print(raw_ostream &OS) const { } void MCSymbol::dump() const { - print(errs()); + print(errs(), 0); } |