don't redefine a parameter

llvm-svn: 40748
This commit is contained in:
Chris Lattner 2007-08-02 18:08:16 +00:00
parent 0ac1fc8ac1
commit 3ffe7187db
1 changed files with 1 additions and 1 deletions

View File

@ -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) {