diff options
author | Duncan Sands <baldrick@free.fr> | 2010-06-30 17:22:28 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-06-30 17:22:28 +0000 |
commit | 3f278ce9997c1885d302afb24619ee4d9c8707e5 (patch) | |
tree | 7b114a4eb877b74638cd3124cf588dec1d9ed3fa /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | 1e4b723b20af962f1f235cc0c8929b36e8e6a9fb (diff) |
Remove an unused variable. The call to getRoot has side-effects, so
this could break something (but doesn't seem to).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107295 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index 526f7742be..4099584923 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp @@ -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; |