mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-27 13:40:30 +00:00
[MIRParser] Delete dead code. NFCI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282098 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5f630a9121
commit
648d6ac61e
@ -126,7 +126,6 @@ public:
|
||||
bool parseRegisterFlag(unsigned &Flags);
|
||||
bool parseSubRegisterIndex(unsigned &SubReg);
|
||||
bool parseRegisterTiedDefIndex(unsigned &TiedDefIdx);
|
||||
bool parseSize(unsigned &Size);
|
||||
bool parseRegisterOperand(MachineOperand &Dest,
|
||||
Optional<unsigned> &TiedDefIdx, bool IsDef = false);
|
||||
bool parseImmediateOperand(MachineOperand &Dest);
|
||||
@ -888,17 +887,6 @@ bool MIParser::parseRegisterTiedDefIndex(unsigned &TiedDefIdx) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool MIParser::parseSize(unsigned &Size) {
|
||||
if (Token.isNot(MIToken::IntegerLiteral))
|
||||
return error("expected an integer literal for the size");
|
||||
if (getUnsigned(Size))
|
||||
return true;
|
||||
lex();
|
||||
if (expectAndConsume(MIToken::rparen))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool MIParser::assignRegisterTies(MachineInstr &MI,
|
||||
ArrayRef<ParsedMachineOperand> Operands) {
|
||||
SmallVector<std::pair<unsigned, unsigned>, 4> TiedRegisterPairs;
|
||||
|
Loading…
Reference in New Issue
Block a user