mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-22 03:51:49 +01:00
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:
@@ -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++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user