summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAsmStreamer.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-28 05:48:22 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-28 05:48:22 +0000
commitcf72e1c03ea804a5c614104094e290f3d17cd08f (patch)
tree60567afdf3562126bde7c01bfcc954ee4b9122ce /llvm/lib/MC/MCAsmStreamer.cpp
parent93665faad0001e05517d4c06e975e9c5f678524c (diff)
downloadbcm5719-llvm-cf72e1c03ea804a5c614104094e290f3d17cd08f.tar.gz
bcm5719-llvm-cf72e1c03ea804a5c614104094e290f3d17cd08f.zip
llvm-mc: Add const to EmitZeroFill section argument.
llvm-svn: 80341
Diffstat (limited to 'llvm/lib/MC/MCAsmStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCAsmStreamer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCAsmStreamer.cpp b/llvm/lib/MC/MCAsmStreamer.cpp
index 60c737a9488..4c2f128b1da 100644
--- a/llvm/lib/MC/MCAsmStreamer.cpp
+++ b/llvm/lib/MC/MCAsmStreamer.cpp
@@ -58,7 +58,7 @@ public:
virtual void EmitCommonSymbol(MCSymbol *Symbol, unsigned Size,
unsigned Pow2Alignment, bool IsLocal);
- virtual void EmitZerofill(MCSection *Section, MCSymbol *Symbol = NULL,
+ virtual void EmitZerofill(const MCSection *Section, MCSymbol *Symbol = 0,
unsigned Size = 0, unsigned Pow2Alignment = 0);
virtual void EmitBytes(const StringRef &Data);
@@ -189,7 +189,7 @@ void MCAsmStreamer::EmitCommonSymbol(MCSymbol *Symbol, unsigned Size,
OS << '\n';
}
-void MCAsmStreamer::EmitZerofill(MCSection *Section, MCSymbol *Symbol,
+void MCAsmStreamer::EmitZerofill(const MCSection *Section, MCSymbol *Symbol,
unsigned Size, unsigned Pow2Alignment) {
// Note: a .zerofill directive does not switch sections.
OS << ".zerofill ";
OpenPOWER on IntegriCloud