summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-28 19:46:59 +0000
committerChris Lattner <sabre@nondot.org>2002-10-28 19:46:59 +0000
commit864d2796677694c9252a097c935859019d554ffc (patch)
tree3f1e6f095a551303ed4875e95992e0691daa4748 /llvm/lib/CodeGen/MachineInstr.cpp
parent780090bbf1f5fb885d9f7c31d21aaa3ec4bfa5b4 (diff)
downloadbcm5719-llvm-864d2796677694c9252a097c935859019d554ffc.tar.gz
bcm5719-llvm-864d2796677694c9252a097c935859019d554ffc.zip
Remove two arguments that are never specified
llvm-svn: 4348
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineInstr.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp
index 367774ac8ac..c3c5ca8fead 100644
--- a/llvm/lib/CodeGen/MachineInstr.cpp
+++ b/llvm/lib/CodeGen/MachineInstr.cpp
@@ -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);
}
OpenPOWER on IntegriCloud