Fix regression on 32 bit

This commit is contained in:
Alexey Prokhin
2011-02-25 23:15:17 +03:00
parent 3bb91c7513
commit d01f63431d

View File

@@ -738,7 +738,8 @@ void ClassDeclaration::semantic(Scope *sc)
}
structsize = sc->offset;
#if IN_LLVM
structsize = (structsize + structalign - 1) & ~(structalign - 1);
if (global.params.is64bit)
structsize = (structsize + structalign - 1) & ~(structalign - 1);
#endif
sizeok = 1;
Module::dprogress++;