From ee5513582d50d311dc9172b6df0632c04184ca37 Mon Sep 17 00:00:00 2001 From: Kevin Enderby Date: Mon, 20 Jul 2009 20:25:37 +0000 Subject: Removed the DumpSymbolsandMacros and LoadSymbolsandMacros MCStreamer API as the parsing of the .dump and .load should be done in the assembly parser and not have any need for an MCStreamer API. Changed the code for now so these just produce an error saying these specific directives are not yet implemented since they are likely no longer used and may never need to be implemented. llvm-svn: 76462 --- llvm/lib/MC/MCAsmStreamer.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'llvm/lib/MC/MCAsmStreamer.cpp') diff --git a/llvm/lib/MC/MCAsmStreamer.cpp b/llvm/lib/MC/MCAsmStreamer.cpp index e1812cee59f..a4a1525bee5 100644 --- a/llvm/lib/MC/MCAsmStreamer.cpp +++ b/llvm/lib/MC/MCAsmStreamer.cpp @@ -57,10 +57,6 @@ namespace { virtual void AbortAssembly(const char *AbortReason = NULL); - virtual void DumpSymbolsandMacros(const char *FileName); - - virtual void LoadSymbolsandMacros(const char *FileName); - virtual void EmitBytes(const char *Data, unsigned Length); virtual void EmitValue(const MCValue &Value, unsigned Size); @@ -144,14 +140,6 @@ void MCAsmStreamer::AbortAssembly(const char *AbortReason) { } -void MCAsmStreamer::DumpSymbolsandMacros(const char *FileName) { - OS << ".dump" << ' ' << FileName << '\n'; -} - -void MCAsmStreamer::LoadSymbolsandMacros(const char *FileName) { - OS << ".load" << ' ' << FileName << '\n'; -} - void MCAsmStreamer::EmitAssignment(MCSymbol *Symbol, const MCValue &Value, bool MakeAbsolute) { assert(!Symbol->getSection() && "Cannot assign to a label!"); -- cgit v1.2.3