summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AVR/AVRInstrInfo.h
diff options
context:
space:
mode:
authorJob Noorman <jobnoorman@gmail.com>2016-08-16 08:41:35 +0000
committerJob Noorman <jobnoorman@gmail.com>2016-08-16 08:41:35 +0000
commit6cd8c9a9d684698a0a9140db22da8cd8a5f73f76 (patch)
treeb7d33e2b8775987648a5f30254aa6ba87c57ff4a /llvm/lib/Target/AVR/AVRInstrInfo.h
parent197b65f833410b1e1a3091363914c48d57a3b0ce (diff)
downloadbcm5719-llvm-6cd8c9a9d684698a0a9140db22da8cd8a5f73f76.tar.gz
bcm5719-llvm-6cd8c9a9d684698a0a9140db22da8cd8a5f73f76.zip
[AVR] Fix compile errors
Differential Revision: https://reviews.llvm.org/D23450 llvm-svn: 278784
Diffstat (limited to 'llvm/lib/Target/AVR/AVRInstrInfo.h')
-rw-r--r--llvm/lib/Target/AVR/AVRInstrInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AVR/AVRInstrInfo.h b/llvm/lib/Target/AVR/AVRInstrInfo.h
index 2bcbe016698..468bf9aa0e9 100644
--- a/llvm/lib/Target/AVR/AVRInstrInfo.h
+++ b/llvm/lib/Target/AVR/AVRInstrInfo.h
@@ -70,7 +70,7 @@ public:
const MCInstrDesc &getBrCond(AVRCC::CondCodes CC) const;
AVRCC::CondCodes getCondFromBranchOpc(unsigned Opc) const;
AVRCC::CondCodes getOppositeCondition(AVRCC::CondCodes CC) const;
- unsigned getInstSizeInBytes(const MachineInstr *MI) const override;
+ unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI,
const DebugLoc &DL, unsigned DestReg, unsigned SrcReg,
OpenPOWER on IntegriCloud