Mercurial > projects > ldc
changeset 810:67fcd9df8b79
Fixed ModuleInfo patch check, failed on 64bit
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sun, 30 Nov 2008 20:41:17 +0100 |
parents | 69a5e4a6fc0f |
children | 8e6135be6999 |
files | gen/toobj.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gen/toobj.cpp Sun Nov 30 20:22:09 2008 +0100 +++ b/gen/toobj.cpp Sun Nov 30 20:41:17 2008 +0100 @@ -697,7 +697,7 @@ DtoForceConstInitDsymbol(moduleinfo); // check for patch - if (moduleinfo->ir.irStruct->constInit->getNumOperands() != 11) + if (moduleinfo->fields.dim != 9) { error("unpatched object.d detected, ModuleInfo incorrect"); fatal();