aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lto
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-07-02 15:49:13 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-07-02 15:49:13 +0000
commita3863ea2dacafc925a8272ebf9884fc64bef686c (patch)
tree7634df6765ba25148891adb4c9fc981b8586c1f6 /tools/lto
parent35b7bebe1162326c38217ff80d4a49fbbffcc365 (diff)
downloadexternal_llvm-a3863ea2dacafc925a8272ebf9884fc64bef686c.zip
external_llvm-a3863ea2dacafc925a8272ebf9884fc64bef686c.tar.gz
external_llvm-a3863ea2dacafc925a8272ebf9884fc64bef686c.tar.bz2
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 'tools/lto')
-rw-r--r--tools/lto/LTOModule.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/lto/LTOModule.cpp b/tools/lto/LTOModule.cpp
index 2975654..6220dd1 100644
--- a/tools/lto/LTOModule.cpp
+++ b/tools/lto/LTOModule.cpp
@@ -792,9 +792,8 @@ namespace {
unsigned ByteAlignment) {}
virtual void EmitTBSSSymbol(const MCSection *Section, MCSymbol *Symbol,
uint64_t Size, unsigned ByteAlignment) {}
- virtual void EmitBytes(StringRef Data, unsigned AddrSpace) {}
- virtual void EmitValueImpl(const MCExpr *Value, unsigned Size,
- unsigned AddrSpace) {}
+ virtual void EmitBytes(StringRef Data) {}
+ virtual void EmitValueImpl(const MCExpr *Value, unsigned Size) {}
virtual void EmitULEB128Value(const MCExpr *Value) {}
virtual void EmitSLEB128Value(const MCExpr *Value) {}
virtual void EmitValueToAlignment(unsigned ByteAlignment, int64_t Value,