mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Change (!list.size() == 0) to (!list.empty()). No functional change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165812 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
47ed8a161c
commit
5628920346
@ -299,7 +299,7 @@ void InstrInfoEmitter::emitRecord(const CodeGenInstruction &Inst, unsigned Num,
|
||||
const OperandInfoMapTy &OpInfo,
|
||||
raw_ostream &OS) {
|
||||
int MinOperands = 0;
|
||||
if (!Inst.Operands.size() == 0)
|
||||
if (!Inst.Operands.empty())
|
||||
// Each logical operand can be multiple MI operands.
|
||||
MinOperands = Inst.Operands.back().MIOperandNo +
|
||||
Inst.Operands.back().MINumOperands;
|
||||
|
Loading…
Reference in New Issue
Block a user