Mercurial > projects > ldc
diff dmd/mtype.c @ 720:e177ae483f8e
Added inreg attribute where appropriate on x86 to follow ABI docs.
Removed now unnecessary temporary variable in StringExp.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Thu, 23 Oct 2008 00:34:46 +0200 |
parents | a26b0c5d5942 |
children | 55f6c2e454d7 |
line wrap: on
line diff
--- a/dmd/mtype.c Wed Oct 22 21:50:08 2008 +0200 +++ b/dmd/mtype.c Thu Oct 23 00:34:46 2008 +0200 @@ -2672,6 +2672,7 @@ this->usesThis = false; this->usesNest = false; this->retAttrs = 0; + this->thisAttrs = 0; } Type *TypeFunction::syntaxCopy() @@ -2683,6 +2684,7 @@ t->usesThis = usesThis; t->usesNest = usesNest; t->retAttrs = retAttrs; + t->thisAttrs = thisAttrs; return t; }