summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp')
-rw-r--r--llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp b/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
index c278de0af19..25d4a6e3304 100644
--- a/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
+++ b/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
@@ -21,14 +21,14 @@ namespace {
class X86ATTAsmParser : public TargetAsmParser {
bool ParseOperand(X86Operand &Op);
- bool MatchInstruction(const char *Name,
+ bool MatchInstruction(const StringRef &Name,
llvm::SmallVector<X86Operand, 3> &Operands,
MCInst &Inst);
public:
explicit X86ATTAsmParser(const Target &);
- virtual bool ParseInstruction(MCAsmParser &AP, const char *Name,
+ virtual bool ParseInstruction(MCAsmParser &AP, const StringRef &Name,
MCInst &Inst);
};
}
@@ -43,13 +43,13 @@ bool X86ATTAsmParser::ParseOperand(X86Operand &Op) {
}
bool
-X86ATTAsmParser::MatchInstruction(const char *Name,
+X86ATTAsmParser::MatchInstruction(const StringRef &Name,
llvm::SmallVector<X86Operand, 3> &Operands,
MCInst &Inst) {
return false;
}
-bool X86ATTAsmParser::ParseInstruction(MCAsmParser &AP, const char *Name,
+bool X86ATTAsmParser::ParseInstruction(MCAsmParser &AP, const StringRef &Name,
MCInst &Inst) {
llvm::SmallVector<X86Operand, 3> Operands;
OpenPOWER on IntegriCloud