llvm.org GIT mirror llvm / 5628920
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 Richard Trieu 8 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
298298 const OperandInfoMapTy &OpInfo,
299299 raw_ostream &OS) {
300300 int MinOperands = 0;
301 if (!Inst.Operands.size() == 0)
301 if (!Inst.Operands.empty())
302302 // Each logical operand can be multiple MI operands.
303303 MinOperands = Inst.Operands.back().MIOperandNo +
304304 Inst.Operands.back().MINumOperands;