aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCNullStreamer.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-07-14 05:43:07 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-07-14 05:43:07 +0000
commitc7ac690ba2e4b10d9beb775a5cb859490a859dd1 (patch)
treeca198a8454d13028a45192d03bd8cf4d96e8746f /llvm/lib/MC/MCNullStreamer.cpp
parenta153ca5885f2bfb4f15dc31b71daf8e3f5491bc2 (diff)
downloadllvm-c7ac690ba2e4b10d9beb775a5cb859490a859dd1.zip
llvm-c7ac690ba2e4b10d9beb775a5cb859490a859dd1.tar.gz
llvm-c7ac690ba2e4b10d9beb775a5cb859490a859dd1.tar.bz2
Unfortunately several files in MC are badly violating layering rule by using
TargetAsmInfo, which in turn pulls in TargetRegisterInfo, etc. :-( There are other cases of violations, but this is probably the worst. This patch is but one small step towards fixing this. 500 more steps to go. :-( llvm-svn: 135131
Diffstat (limited to 'llvm/lib/MC/MCNullStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCNullStreamer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCNullStreamer.cpp b/llvm/lib/MC/MCNullStreamer.cpp
index f38b822..9577af0 100644
--- a/llvm/lib/MC/MCNullStreamer.cpp
+++ b/llvm/lib/MC/MCNullStreamer.cpp
@@ -44,7 +44,8 @@ namespace {
virtual void EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol){}
virtual void EmitDwarfAdvanceLineAddr(int64_t LineDelta,
const MCSymbol *LastLabel,
- const MCSymbol *Label) {}
+ const MCSymbol *Label,
+ unsigned PointerSize) {}
virtual void EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute){}