comparison 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
comparison
equal deleted inserted replaced
238:346cba22f4b8 239:fa691b1c0498
2042 stmt->error("too many registers memory operand"); 2042 stmt->error("too many registers memory operand");
2043 } 2043 }
2044 } 2044 }
2045 } else if (exp->op == TOKvar) { 2045 } else if (exp->op == TOKvar) {
2046 VarDeclaration * v = ((VarExp *) exp)->var->isVarDeclaration(); 2046 VarDeclaration * v = ((VarExp *) exp)->var->isVarDeclaration();
2047 v->needsStorage = true;
2047 2048
2048 if (v && v->storage_class & STCfield) { 2049 if (v && v->storage_class & STCfield) {
2049 operand->constDisplacement += v->offset; 2050 operand->constDisplacement += v->offset;
2050 if (! operand->inBracket) 2051 if (! operand->inBracket)
2051 operand->hasNumber = 1; 2052 operand->hasNumber = 1;