Tidy up. One more return type mismatch fix.
authorJim Grosbach <grosbach@apple.com>
Tue, 31 Jan 2012 23:51:09 +0000 (23:51 +0000)
committerJim Grosbach <grosbach@apple.com>
Tue, 31 Jan 2012 23:51:09 +0000 (23:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149452 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/AsmParser/ARMAsmParser.cpp

index b51c59df9fd7155d963233a7edc3eaa23e7c8467..414f9f5b7ffcaf104d7b6212f9c5b3037f73acec 100644 (file)
@@ -2550,7 +2550,7 @@ tryParseRegisterWithWriteBack(SmallVectorImpl<MCParsedAsmOperand*> &Operands) {
 
     const MCExpr *ImmVal;
     if (getParser().ParseExpression(ImmVal))
-      return MatchOperand_ParseFail;
+      return true;
     const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal);
     if (!MCE)
       return TokError("immediate value expected for vector index");