Mercurial > projects > ldc
diff dmd/mtype.c @ 938:a904cc9bc064
Convert struct arg to integer when passing inreg to make sure LLVM doesn't
ignore the attribute!
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Wed, 04 Feb 2009 18:39:33 +0100 |
parents | 7985bb036db4 |
children | 067bb8f19c36 |
line wrap: on
line diff
--- a/dmd/mtype.c Tue Feb 03 21:46:54 2009 +0100 +++ b/dmd/mtype.c Wed Feb 04 18:39:33 2009 +0100 @@ -2691,7 +2691,7 @@ this->retInPtr = false; this->usesThis = false; this->usesNest = false; - this->structInregArg = false; + this->structInregArg = NULL; this->retAttrs = 0; this->thisAttrs = 0; this->reverseParams = false;