aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC/MCValue.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-03 05:46:51 +0000
committerChris Lattner <sabre@nondot.org>2009-09-03 05:46:51 +0000
commit0fe3a1ed4567dfdd45125c95beed6c6b77be2088 (patch)
treebd14333e8ed905f9665b6df0ed1165d19b77acf8 /include/llvm/MC/MCValue.h
parentad1950e0138c65a6e0d329055b4f60402bc36cbb (diff)
downloadexternal_llvm-0fe3a1ed4567dfdd45125c95beed6c6b77be2088.zip
external_llvm-0fe3a1ed4567dfdd45125c95beed6c6b77be2088.tar.gz
external_llvm-0fe3a1ed4567dfdd45125c95beed6c6b77be2088.tar.bz2
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/MCValue.h')
-rw-r--r--include/llvm/MC/MCValue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/MC/MCValue.h b/include/llvm/MC/MCValue.h
index 9d71209..62aca6e 100644
--- a/include/llvm/MC/MCValue.h
+++ b/include/llvm/MC/MCValue.h
@@ -55,7 +55,7 @@ public:
const MCSection *getAssociatedSection() const;
/// 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;