do not set the root to null if an argument is dead

llvm-svn: 21188
This commit is contained in:
Chris Lattner 2005-04-09 21:23:24 +00:00
parent 8309a333dd
commit e8e070dbfb
1 changed files with 2 additions and 1 deletions

View File

@ -203,8 +203,9 @@ PPC32TargetLowering::LowerArguments(Function &F, SelectionDAG &DAG) {
GPR_idx += delta;
}
ArgOffset += ObjSize;
if (newroot.Val)
DAG.setRoot(newroot.getValue(1));
DAG.setRoot(newroot.getValue(1));
ArgValues.push_back(argt);
}