mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-15 20:33:14 +01:00
Fixed ModuleInfo patch check, failed on 64bit
This commit is contained in:
@@ -697,7 +697,7 @@ void Module::genmoduleinfo()
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user