Mercurial > projects > ldc
diff gen/d-asm-i386.h @ 239:fa691b1c0498 trunk
[svn r256] AsmBlockStatement was still being flattened in some cases.
Function parameters passed as arguments to inline asm was not given storage.
author | lindquist |
---|---|
date | Sun, 08 Jun 2008 22:07:10 +0200 |
parents | 9760f54af0b7 |
children | df8a7b8d5929 |
line wrap: on
line diff
--- a/gen/d-asm-i386.h Sun Jun 08 21:23:09 2008 +0200 +++ b/gen/d-asm-i386.h Sun Jun 08 22:07:10 2008 +0200 @@ -2044,6 +2044,7 @@ } } else if (exp->op == TOKvar) { VarDeclaration * v = ((VarExp *) exp)->var->isVarDeclaration(); + v->needsStorage = true; if (v && v->storage_class & STCfield) { operand->constDisplacement += v->offset;