Don't forget to set this

llvm-svn: 39670
This commit is contained in:
Chris Lattner 2007-06-22 18:57:44 +00:00
parent 09153c0a8c
commit 0fb8465981
1 changed files with 1 additions and 0 deletions

View File

@ -107,6 +107,7 @@ void CodeGenFunction::EmitParmDecl(const ParmVarDecl &D, llvm::Value *Arg) {
Builder.CreateStore(Arg, DeclPtr);
} else {
// Otherwise, if this is an aggregate, just use the input pointer.
DeclPtr = Arg;
}
Arg->setName(D.getName());
}