Mercurial > projects > ldc
diff gen/functions.cpp @ 1217:00a84912c689
Remove 'noalias' and 'nocapture' from %.nest_arg. They no longer apply now that
it may point to a struct containing variables from outer functions.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Wed, 15 Apr 2009 20:59:21 +0200 |
parents | 8699c450a1a0 |
children | 00f377e03423 1e699a4e9759 |
line wrap: on
line diff
--- a/gen/functions.cpp Wed Apr 15 20:59:19 2009 +0200 +++ b/gen/functions.cpp Wed Apr 15 20:59:21 2009 +0200 @@ -89,7 +89,7 @@ // 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++; }