summaryrefslogtreecommitdiffstats
path: root/llvm/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
commite6c13e4abd944f7d1ae85816063aca468a3bfcb8 (patch)
tree59f0fa1057f5c09b490f4e408b4f8d181ef16647 /llvm/lib/LTO
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/LTO')
-rw-r--r--llvm/lib/LTO/LTOModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/LTO/LTOModule.cpp b/llvm/lib/LTO/LTOModule.cpp
index c1a9f80b528..669ccbbaab4 100644
--- a/llvm/lib/LTO/LTOModule.cpp
+++ b/llvm/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())
OpenPOWER on IntegriCloud