aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-08-02 18:08:16 +0000
committerChris Lattner <sabre@nondot.org>2007-08-02 18:08:16 +0000
commitb15e49597f031fdd41fdec2887a3c24c0ea430d8 (patch)
treec8724c556ccb8dcd69f010747b327393a9e49400 /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parent1c2763d3fe8b70d9b85cb84bbce311ee4b86c9e1 (diff)
don't redefine a parameter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40748 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 39535f1d1a..d1f7669024 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -4031,7 +4031,7 @@ TargetLowering::LowerCallTo(SDOperand Chain, const Type *RetTy,
SDOperand Res = DAG.getNode(ISD::CALL,
DAG.getVTList(&RetTys[0], NumRegs + 1),
&Ops[0], Ops.size());
- SDOperand Chain = Res.getValue(NumRegs);
+ Chain = Res.getValue(NumRegs);
// Gather up the call result into a single value.
if (RetTy != Type::VoidTy) {