Remove two arguments that are never specified

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4348 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner committed 2002-10-28 19:46:59 +00:00
1 parent 5638bf973f
commit 2f305989b3
2 files changed
+3 -11

No files matched your search

+2 -8
View File
@@ -82,22 +82,16 @@ MachineInstr::SetMachineOperandConst(unsigned i,
void
MachineInstr::SetMachineOperandReg(unsigned i,
int regNum,
bool isdef,
bool isDefAndUse,
bool isCCReg)
{
bool isdef) {
assert(i < operands.size());
operands[i].opType =
isCCReg? MachineOperand::MO_CCRegister : MachineOperand::MO_MachineRegister;
operands[i].opType = MachineOperand::MO_MachineRegister;
operands[i].value = NULL;
operands[i].regNum = regNum;
operands[i].flags = 0;
if (isdef || TargetInstrDescriptors[opCode].resultPos == (int) i)
operands[i].markDef();
if (isDefAndUse)
operands[i].markDefAndUse();
insertUsedReg(regNum);
}