summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCMachOStreamer.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/MCMachOStreamer.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/MCMachOStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCMachOStreamer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCMachOStreamer.cpp b/llvm/lib/MC/MCMachOStreamer.cpp
index f5887dbc817..7e8a715eaaf 100644
--- a/llvm/lib/MC/MCMachOStreamer.cpp
+++ b/llvm/lib/MC/MCMachOStreamer.cpp
@@ -107,7 +107,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);
@@ -273,7 +273,7 @@ void MCMachOStreamer::EmitCommonSymbol(MCSymbol *Symbol, unsigned Size,
llvm_unreachable("FIXME: Not yet implemented!");
}
-void MCMachOStreamer::EmitZerofill(MCSection *Section, MCSymbol *Symbol,
+void MCMachOStreamer::EmitZerofill(const MCSection *Section, MCSymbol *Symbol,
unsigned Size, unsigned Pow2Alignment) {
llvm_unreachable("FIXME: Not yet implemented!");
}
OpenPOWER on IntegriCloud