diff options
author | David Woodhouse <dwmw2@infradead.org> | 2014-01-28 23:12:42 +0000 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2014-01-28 23:12:42 +0000 |
commit | 4396f5d9d2c215988f9368e94bfd5e1eb1cced58 (patch) | |
tree | 69cefbbe6b6011c4b0d2e19b6130854038ba24e3 /lib/Target/AArch64/MCTargetDesc | |
parent | ece65e3bf9c318c53b6ac0052e1b3762bd69524c (diff) | |
download | llvm-4396f5d9d2c215988f9368e94bfd5e1eb1cced58.tar.gz llvm-4396f5d9d2c215988f9368e94bfd5e1eb1cced58.tar.bz2 llvm-4396f5d9d2c215988f9368e94bfd5e1eb1cced58.tar.xz |
Change MCStreamer EmitInstruction interface to take subtarget info
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200345 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/AArch64/MCTargetDesc')
-rw-r--r-- | lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp b/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp index 6e680bdabb..473b7dda00 100644 --- a/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp +++ b/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 |