summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAsmStreamer.cpp
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2009-07-20 20:25:37 +0000
committerKevin Enderby <enderby@apple.com>2009-07-20 20:25:37 +0000
commitee5513582d50d311dc9172b6df0632c04184ca37 (patch)
tree9379c2417de51c51873c261e2a2101d8490e8da7 /llvm/lib/MC/MCAsmStreamer.cpp
parent2b11c7de4ae182496438e166cb6758d41b6e1740 (diff)
downloadbcm5719-llvm-ee5513582d50d311dc9172b6df0632c04184ca37.tar.gz
bcm5719-llvm-ee5513582d50d311dc9172b6df0632c04184ca37.zip
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
Diffstat (limited to 'llvm/lib/MC/MCAsmStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCAsmStreamer.cpp12
1 files changed, 0 insertions, 12 deletions
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!");
OpenPOWER on IntegriCloud