mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
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:
parent
7771583fc5
commit
24dda21705
@ -2550,7 +2550,7 @@ tryParseRegisterWithWriteBack(SmallVectorImpl<MCParsedAsmOperand*> &Operands) {
|
|||||||
|
|
||||||
const MCExpr *ImmVal;
|
const MCExpr *ImmVal;
|
||||||
if (getParser().ParseExpression(ImmVal))
|
if (getParser().ParseExpression(ImmVal))
|
||||||
return MatchOperand_ParseFail;
|
return true;
|
||||||
const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal);
|
const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal);
|
||||||
if (!MCE)
|
if (!MCE)
|
||||||
return TokError("immediate value expected for vector index");
|
return TokError("immediate value expected for vector index");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user