mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-08 19:25:47 +00:00
Fix for r162954. Return the Error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162955 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -5374,8 +5374,8 @@ validateInstruction(MCInst &Inst,
|
|||||||
((ARMOperand*)Operands[5])->getReg()) &&
|
((ARMOperand*)Operands[5])->getReg()) &&
|
||||||
(((ARMOperand*)Operands[3])->getReg() !=
|
(((ARMOperand*)Operands[3])->getReg() !=
|
||||||
((ARMOperand*)Operands[4])->getReg())) {
|
((ARMOperand*)Operands[4])->getReg())) {
|
||||||
Error(Operands[3]->getStartLoc(),
|
return Error(Operands[3]->getStartLoc(),
|
||||||
"destination register must match source register");
|
"destination register must match source register");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user