1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00

don't redefine a parameter

llvm-svn: 40748
This commit is contained in:
Chris Lattner 2007-08-02 18:08:16 +00:00
parent d617e4c963
commit 9319dfc93a

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