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/LTO | |
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/LTO')
-rw-r--r-- | lib/LTO/LTOModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/LTO/LTOModule.cpp b/lib/LTO/LTOModule.cpp index c1a9f80b52..669ccbbaab 100644 --- a/lib/LTO/LTOModule.cpp +++ b/lib/LTO/LTOModule.cpp @@ -625,7 +625,7 @@ namespace { RecordStreamer(MCContext &Context) : MCStreamer(Context) {} - virtual void EmitInstruction(const MCInst &Inst) { + virtual void EmitInstruction(const MCInst &Inst, const MCSubtargetInfo &STI) { // Scan for values. for (unsigned i = Inst.getNumOperands(); i--; ) if (Inst.getOperand(i).isExpr()) |