1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

Tidy up. One more return type mismatch fix.

llvm-svn: 149452
This commit is contained in:
Jim Grosbach 2012-01-31 23:51:09 +00:00
parent d4d8487fea
commit b4cc72d103

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