summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCELFStreamer.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-12-02 05:59:38 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-12-02 05:59:38 +0000
commit9065bfc6928251a17291801405a86d5e60f5addc (patch)
tree5b22489480a46bbe9eed1b6a53801145804693a4 /llvm/lib/MC/MCELFStreamer.cpp
parent3fa6fc1450ce5652917544853699543c331cd761 (diff)
downloadbcm5719-llvm-9065bfc6928251a17291801405a86d5e60f5addc.tar.gz
bcm5719-llvm-9065bfc6928251a17291801405a86d5e60f5addc.zip
Move EmitValueToOffset to the ObjectStreamer.
llvm-svn: 120691
Diffstat (limited to 'llvm/lib/MC/MCELFStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCELFStreamer.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/MC/MCELFStreamer.cpp b/llvm/lib/MC/MCELFStreamer.cpp
index f7cb3edb0db..d98c9ef79e2 100644
--- a/llvm/lib/MC/MCELFStreamer.cpp
+++ b/llvm/lib/MC/MCELFStreamer.cpp
@@ -129,8 +129,6 @@ public:
unsigned MaxBytesToEmit = 0);
virtual void EmitCodeAlignment(unsigned ByteAlignment,
unsigned MaxBytesToEmit = 0);
- virtual void EmitValueToOffset(const MCExpr *Offset,
- unsigned char Value = 0);
virtual void EmitFileDirective(StringRef Filename);
@@ -399,13 +397,6 @@ void MCELFStreamer::EmitCodeAlignment(unsigned ByteAlignment,
getCurrentSectionData()->setAlignment(ByteAlignment);
}
-void MCELFStreamer::EmitValueToOffset(const MCExpr *Offset,
- unsigned char Value) {
- // TODO: This is exactly the same as MCMachOStreamer. Consider merging into
- // MCObjectStreamer.
- new MCOrgFragment(*Offset, Value, getCurrentSectionData());
-}
-
// Add a symbol for the file name of this module. This is the second
// entry in the module's symbol table (the first being the null symbol).
void MCELFStreamer::EmitFileDirective(StringRef Filename) {
OpenPOWER on IntegriCloud