diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2014-08-08 19:13:23 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2014-08-08 19:13:23 +0000 |
commit | 7ee0f31a8b917add0f427ca3f47568b0b3225b7f (patch) | |
tree | 2040c62ae72f7ef516bffa797b2f018cb83e056e /llvm/lib/Target/PowerPC/PPCInstrInfo.h | |
parent | 793f28d274d6732fd4e063d21a4f0606fac76dc9 (diff) | |
download | bcm5719-llvm-7ee0f31a8b917add0f427ca3f47568b0b3225b7f.tar.gz bcm5719-llvm-7ee0f31a8b917add0f427ca3f47568b0b3225b7f.zip |
Provide an implementation of getNoopForMachoTarget for PPC, otherwise
empty functions will assert in the MC object writer.
llvm-svn: 215238
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCInstrInfo.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCInstrInfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.h b/llvm/lib/Target/PowerPC/PPCInstrInfo.h index 83f14c6cf21..db1cfcdf2c3 100644 --- a/llvm/lib/Target/PowerPC/PPCInstrInfo.h +++ b/llvm/lib/Target/PowerPC/PPCInstrInfo.h @@ -228,6 +228,8 @@ public: /// instruction may be. This returns the maximum number of bytes. /// unsigned GetInstSizeInBytes(const MachineInstr *MI) const; + + void getNoopForMachoTarget(MCInst &NopInst) const override; }; } |