Dead variable

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28265 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-05-12 21:12:22 +00:00
parent b65e7256ed
commit 03ea4c8326

View File

@ -524,7 +524,6 @@ void X86TargetLowering::PreprocessCCCArguments(std::vector<SDOperand>Args,
void X86TargetLowering::LowerCCCArguments(SDOperand Op, SelectionDAG &DAG) { void X86TargetLowering::LowerCCCArguments(SDOperand Op, SelectionDAG &DAG) {
unsigned NumArgs = Op.Val->getNumValues(); unsigned NumArgs = Op.Val->getNumValues();
MachineFunction &MF = DAG.getMachineFunction(); MachineFunction &MF = DAG.getMachineFunction();
MachineFrameInfo *MFI = MF.getFrameInfo();
for (unsigned i = 0; i < NumArgs; ++i) { for (unsigned i = 0; i < NumArgs; ++i) {
std::pair<FALocInfo, FALocInfo> Loc = FormalArgLocs[i]; std::pair<FALocInfo, FALocInfo> Loc = FormalArgLocs[i];
@ -1046,7 +1045,6 @@ void
X86TargetLowering::LowerFastCCArguments(SDOperand Op, SelectionDAG &DAG) { X86TargetLowering::LowerFastCCArguments(SDOperand Op, SelectionDAG &DAG) {
unsigned NumArgs = Op.Val->getNumValues(); unsigned NumArgs = Op.Val->getNumValues();
MachineFunction &MF = DAG.getMachineFunction(); MachineFunction &MF = DAG.getMachineFunction();
MachineFrameInfo *MFI = MF.getFrameInfo();
for (unsigned i = 0; i < NumArgs; ++i) { for (unsigned i = 0; i < NumArgs; ++i) {
MVT::ValueType VT = Op.Val->getValueType(i); MVT::ValueType VT = Op.Val->getValueType(i);