summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2014-01-28 23:12:42 +0000
committerDavid Woodhouse <dwmw2@infradead.org>2014-01-28 23:12:42 +0000
commite6c13e4abd944f7d1ae85816063aca468a3bfcb8 (patch)
tree59f0fa1057f5c09b490f4e408b4f8d181ef16647 /llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
parent1fd6dd3616c039881c3bd75c8e002a297d40794e (diff)
downloadbcm5719-llvm-e6c13e4abd944f7d1ae85816063aca468a3bfcb8.tar.gz
bcm5719-llvm-e6c13e4abd944f7d1ae85816063aca468a3bfcb8.zip
Change MCStreamer EmitInstruction interface to take subtarget info
llvm-svn: 200345
Diffstat (limited to 'llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp')
-rw-r--r--llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp b/llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
index 6e680bdabbc..473b7dda004 100644
--- a/llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
+++ b/llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
@@ -76,9 +76,9 @@ public:
/// This function is the one used to emit instruction data into the ELF
/// streamer. We override it to add the appropriate mapping symbol if
/// necessary.
- virtual void EmitInstruction(const MCInst& Inst) {
+ virtual void EmitInstruction(const MCInst& Inst, const MCSubtargetInfo &STI) {
EmitA64MappingSymbol();
- MCELFStreamer::EmitInstruction(Inst);
+ MCELFStreamer::EmitInstruction(Inst, STI);
}
/// This is one of the functions used to emit data into an ELF section, so the
OpenPOWER on IntegriCloud