Improve disabling of X86 AsmMatcher.
authorDaniel Dunbar <daniel@zuster.org>
Fri, 7 Aug 2009 09:06:38 +0000 (09:06 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 7 Aug 2009 09:06:38 +0000 (09:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78381 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/AsmParser/X86AsmParser.cpp

index 5b554ca82a12e23ddde087accf7613b5b483caaa..c8d5ddabaee9ec4ea8c06015c5130f142abb0053 100644 (file)
@@ -432,6 +432,7 @@ bool X86ATTAsmParser::MatchInstruction(SmallVectorImpl<X86Operand> &Operands,
   
 bool X86ATTAsmParser::MatchRegisterName(const StringRef &Name,
                                         unsigned &RegNo) {
+  RegNo = 1;
   return false;
 }