Tidy up. One more return type mismatch fix.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149452 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Grosbach 2012-01-31 23:51:09 +00:00
parent 7771583fc5
commit 24dda21705

View 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");