[M68k] Forward declare getMCInstrBeads in one place
authorRicky Taylor <rickytaylor26@gmail.com>
Wed, 17 Mar 2021 20:30:39 +0000 (13:30 -0700)
committerMin-Yih Hsu <minyihh@uci.edu>
Wed, 17 Mar 2021 20:31:27 +0000 (13:31 -0700)
commiteb6b455ba16973c6a46274eb3fd906b14a49c353
treea378014e3d6417ffe415d3cfc0c884a5059bd52b
parent2416f2436334450d216c7aa62a6624dc17765228
[M68k] Forward declare getMCInstrBeads in one place

At the moment `getMCInstrBeads` is forward-declared in a few places,
bring this together into a single header file.

This was done as part of the disassembler work, since the disassembler
would otherwise add one more forward declaration.

Differential Revision: https://reviews.llvm.org/D98533
llvm/lib/Target/M68k/M68kInstrInfo.cpp
llvm/lib/Target/M68k/M68kInstrInfo.h
llvm/lib/Target/M68k/MCTargetDesc/M68kMCCodeEmitter.cpp
llvm/lib/Target/M68k/MCTargetDesc/M68kMCCodeEmitter.h [new file with mode: 0644]