summaryrefslogtreecommitdiff
path: root/lib/LTO
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
commit4396f5d9d2c215988f9368e94bfd5e1eb1cced58 (patch)
tree69cefbbe6b6011c4b0d2e19b6130854038ba24e3 /lib/LTO
parentece65e3bf9c318c53b6ac0052e1b3762bd69524c (diff)
downloadllvm-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.cpp2
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())