mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Give MCInstPrinter a MCAsmInfo member, make X86ATTInstPrinter
be a MCInstPrinter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81746 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -13,13 +13,17 @@
|
||||
namespace llvm {
|
||||
class MCInst;
|
||||
class raw_ostream;
|
||||
class MCAsmInfo;
|
||||
|
||||
|
||||
/// MCInstPrinter - This is an instance of a target assembly language printer
|
||||
/// that converts an MCInst to valid target assembly syntax.
|
||||
class MCInstPrinter {
|
||||
protected:
|
||||
raw_ostream &O;
|
||||
const MCAsmInfo &MAI;
|
||||
public:
|
||||
MCInstPrinter(raw_ostream &o) : O(o) {}
|
||||
MCInstPrinter(raw_ostream &o, const MCAsmInfo &mai) : O(o), MAI(mai) {}
|
||||
|
||||
virtual ~MCInstPrinter();
|
||||
|
||||
|
Reference in New Issue
Block a user