r314779 caused ErrorInfo to be red uninitialised, but also made this code dead,
so it can just be removed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314791
91177308-0d34-0410-b5e6-
96231b3b80d8
MatchResult = MatchInstruction(Operands, Inst, NearMisses, MatchingInlineAsm,
PendConditionalInstruction, Out);
- SMLoc ErrorLoc;
- if (ErrorInfo < Operands.size()) {
- ErrorLoc = ((ARMOperand &)*Operands[ErrorInfo]).getStartLoc();
- if (ErrorLoc == SMLoc())
- ErrorLoc = IDLoc;
- }
-
switch (MatchResult) {
case Match_Success:
// Context sensitive operand constraints aren't handled by the matcher,