aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/InstPrinter/X86InstComments.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/X86/InstPrinter/X86InstComments.h')
-rw-r--r--lib/Target/X86/InstPrinter/X86InstComments.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/Target/X86/InstPrinter/X86InstComments.h b/lib/Target/X86/InstPrinter/X86InstComments.h
index 629c02c95c7f..40dffa5fbb8a 100644
--- a/lib/Target/X86/InstPrinter/X86InstComments.h
+++ b/lib/Target/X86/InstPrinter/X86InstComments.h
@@ -15,19 +15,13 @@
#ifndef LLVM_LIB_TARGET_X86_INSTPRINTER_X86INSTCOMMENTS_H
#define LLVM_LIB_TARGET_X86_INSTPRINTER_X86INSTCOMMENTS_H
-#include "llvm/CodeGen/MachineInstr.h"
-
namespace llvm {
- enum AsmComments {
- // For instr that was compressed from EVEX to VEX.
- AC_EVEX_2_VEX = MachineInstr::TAsmComments
- };
-
class MCInst;
+ class MCInstrInfo;
class raw_ostream;
bool EmitAnyX86InstComments(const MCInst *MI, raw_ostream &OS,
- const char *(*getRegName)(unsigned));
+ const MCInstrInfo &MCII);
}
#endif