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 /include/llvm/MC/MCSymbol.h | |
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 'include/llvm/MC/MCSymbol.h')
-rw-r--r-- | include/llvm/MC/MCSymbol.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/MC/MCSymbol.h b/include/llvm/MC/MCSymbol.h index 631fa12f3f..5dd7d68585 100644 --- a/include/llvm/MC/MCSymbol.h +++ b/include/llvm/MC/MCSymbol.h @@ -19,6 +19,7 @@ #include "llvm/Support/DataTypes.h" namespace llvm { + class MCAsmInfo; class MCSection; class MCContext; class raw_ostream; @@ -106,7 +107,7 @@ namespace llvm { /// @} /// print - Print the value to the stream \arg OS. - void print(raw_ostream &OS) const; + void print(raw_ostream &OS, const MCAsmInfo *MAI) const; /// dump - Print the value to stderr. void dump() const; |