[llvm-commits] CVS: llvm/lib/CodeGen/MachineInstr.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon Oct 28 13:48:02 PST 2002


Changes in directory llvm/lib/CodeGen:

MachineInstr.cpp updated: 1.50 -> 1.51

---
Log message:

Remove two arguments that are never specified



---
Diffs of the changes:

Index: llvm/lib/CodeGen/MachineInstr.cpp
diff -u llvm/lib/CodeGen/MachineInstr.cpp:1.50 llvm/lib/CodeGen/MachineInstr.cpp:1.51
--- llvm/lib/CodeGen/MachineInstr.cpp:1.50	Sun Oct 27 22:24:49 2002
+++ llvm/lib/CodeGen/MachineInstr.cpp	Mon Oct 28 13:46:59 2002
@@ -82,22 +82,16 @@
 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);
 }
 





More information about the llvm-commits mailing list