diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-02 15:49:13 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-02 15:49:13 +0000 |
commit | a3863ea2dacafc925a8272ebf9884fc64bef686c (patch) | |
tree | 7634df6765ba25148891adb4c9fc981b8586c1f6 /lib/MC/MCELFStreamer.cpp | |
parent | 35b7bebe1162326c38217ff80d4a49fbbffcc365 (diff) | |
download | llvm-a3863ea2dacafc925a8272ebf9884fc64bef686c.tar.gz llvm-a3863ea2dacafc925a8272ebf9884fc64bef686c.tar.bz2 llvm-a3863ea2dacafc925a8272ebf9884fc64bef686c.tar.xz |
Remove address spaces from MC.
This is dead code since PIC16 was removed in 2010. The result was an odd mix,
where some parts would carefully pass it along and others would assert it was
zero (most of the object streamer for example).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185436 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCELFStreamer.cpp')
-rw-r--r-- | lib/MC/MCELFStreamer.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/MC/MCELFStreamer.cpp b/lib/MC/MCELFStreamer.cpp index a89e8a6656..6e5ff50e37 100644 --- a/lib/MC/MCELFStreamer.cpp +++ b/lib/MC/MCELFStreamer.cpp @@ -296,12 +296,11 @@ void MCELFStreamer::EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size, EmitCommonSymbol(Symbol, Size, ByteAlignment); } -void MCELFStreamer::EmitValueImpl(const MCExpr *Value, unsigned Size, - unsigned AddrSpace) { +void MCELFStreamer::EmitValueImpl(const MCExpr *Value, unsigned Size) { if (getCurrentSectionData()->isBundleLocked()) report_fatal_error("Emitting values inside a locked bundle is forbidden"); fixSymbolsInTLSFixups(Value); - MCObjectStreamer::EmitValueImpl(Value, Size, AddrSpace); + MCObjectStreamer::EmitValueImpl(Value, Size); } void MCELFStreamer::EmitValueToAlignment(unsigned ByteAlignment, |