mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Revert "[Mips] Fix use after free."
Fixes use after free but breaks tests. This reverts commit r268901. llvm-svn: 268902
This commit is contained in:
parent
5385b15220
commit
8779c9c4d8
@ -4693,7 +4693,8 @@ MipsAsmParser::parseRegisterPair(OperandVector &Operands) {
|
||||
SMLoc E = Parser.getTok().getLoc();
|
||||
MipsOperand &Op = static_cast<MipsOperand &>(*Operands.back());
|
||||
|
||||
Operands.back() = MipsOperand::CreateRegPair(Op, S, E, *this);
|
||||
Operands.pop_back();
|
||||
Operands.push_back(MipsOperand::CreateRegPair(Op, S, E, *this));
|
||||
return MatchOperand_Success;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user