mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
[ARM, Asm] Remove dead code causing MSan failure.
r314779 caused ErrorInfo to be red uninitialised, but also made this code dead, so it can just be removed. llvm-svn: 314791
This commit is contained in:
parent
1ab89602fb
commit
af934d6e94
@ -9028,13 +9028,6 @@ bool ARMAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
|
||||
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user