diff options
Diffstat (limited to 'llvm/lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp')
| -rw-r--r-- | llvm/lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp b/llvm/lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp index 6687dbe25364..bacd00360f82 100644 --- a/llvm/lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp +++ b/llvm/lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp @@ -43,12 +43,14 @@ public: unsigned getNumFixupKinds() const override { return 1; } - bool writeNopData(raw_ostream &OS, uint64_t Count) const override; + bool writeNopData(raw_ostream &OS, uint64_t Count, + const MCSubtargetInfo *STI) const override; }; } // end anonymous namespace -bool BPFAsmBackend::writeNopData(raw_ostream &OS, uint64_t Count) const { +bool BPFAsmBackend::writeNopData(raw_ostream &OS, uint64_t Count, + const MCSubtargetInfo *STI) const { if ((Count % 8) != 0) return false; |
