diff options
author | David Woodhouse <dwmw2@infradead.org> | 2014-01-28 23:13:07 +0000 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2014-01-28 23:13:07 +0000 |
commit | 2ddea4b44d7d0f8b016d49bd8a16146f84a2a27e (patch) | |
tree | a8e2291865f7ee75b392a8ce5aa085e5f54f0056 /include | |
parent | 41c8ba9d61acb86847ad6cf823656e212d8dbbf5 (diff) | |
download | llvm-2ddea4b44d7d0f8b016d49bd8a16146f84a2a27e.tar.gz llvm-2ddea4b44d7d0f8b016d49bd8a16146f84a2a27e.tar.bz2 llvm-2ddea4b44d7d0f8b016d49bd8a16146f84a2a27e.tar.xz |
Explictly pass MCSubtargetInfo to MCCodeEmitter::EncodeInstruction()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200348 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCCodeEmitter.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/MC/MCCodeEmitter.h b/include/llvm/MC/MCCodeEmitter.h index 9bfa08eb5d..d3b56177d5 100644 --- a/include/llvm/MC/MCCodeEmitter.h +++ b/include/llvm/MC/MCCodeEmitter.h @@ -15,6 +15,7 @@ namespace llvm { class MCFixup; class MCInst; +class MCSubtargetInfo; class raw_ostream; template<typename T> class SmallVectorImpl; @@ -35,7 +36,8 @@ public: /// EncodeInstruction - Encode the given \p Inst to bytes on the output /// stream \p OS. virtual void EncodeInstruction(const MCInst &Inst, raw_ostream &OS, - SmallVectorImpl<MCFixup> &Fixups) const = 0; + SmallVectorImpl<MCFixup> &Fixups, + const MCSubtargetInfo &STI) const = 0; }; } // End llvm namespace |