Remove an unused variable. The call to getRoot has side-effects, so

this could break something (but doesn't seem to).

llvm-svn: 107295
This commit is contained in:
Duncan Sands 2010-06-30 17:22:28 +00:00
parent 237ee6fef8
commit 945a347478
1 changed files with 0 additions and 1 deletions

View File

@ -5899,7 +5899,6 @@ void SelectionDAGISel::LowerArguments(const BasicBlock *LLVMBB) {
// If this is the entry block, emit arguments.
const Function &F = *LLVMBB->getParent();
SelectionDAG &DAG = SDB->DAG;
SDValue OldRoot = DAG.getRoot();
DebugLoc dl = SDB->getCurDebugLoc();
const TargetData *TD = TLI.getTargetData();
SmallVector<ISD::InputArg, 16> Ins;