Merged DMD 1.042.

This commit is contained in:
Tomas Lindquist Olsen
2009-04-03 17:59:34 +02:00
parent 57bf95cb42
commit 3d1f8cc565
38 changed files with 6504 additions and 5232 deletions

View File

@@ -562,7 +562,7 @@ void ClassDeclaration::semantic(Scope *sc)
// sc->offset += PTRSIZE; // room for uplevel context pointer
}
else
{ sc->offset = 2*PTRSIZE; // allow room for vptr[] and monitor
{ sc->offset = PTRSIZE * 2; // allow room for vptr[] and monitor
alignsize = PTRSIZE;
}
structsize = sc->offset;
@@ -1152,7 +1152,7 @@ void InterfaceDeclaration::semantic(Scope *sc)
sc->linkage = LINKwindows;
sc->structalign = 8;
structalign = sc->structalign;
sc->offset = 2*PTRSIZE;
sc->offset = PTRSIZE * 2;
inuse++;
for (i = 0; i < members->dim; i++)
{