Remove 'noalias' and 'nocapture' from %.nest_arg. They no longer apply now that

it may point to a struct containing variables from outer functions.
This commit is contained in:
Frits van Bommel 2009-04-15 20:59:21 +02:00
parent c19ab2e539
commit 8c3cc1467f
2 changed files with 2 additions and 11 deletions

View file

@ -89,7 +89,7 @@ const llvm::FunctionType* DtoFunctionType(Type* type, Type* thistype, Type* nest
// and nested functions
else if (nesttype)
{
f->fty.arg_nest = new IrFuncTyArg(nesttype, false, NoAlias | NoCapture);
f->fty.arg_nest = new IrFuncTyArg(nesttype, false);
lidx++;
}