Merge DMD 1.057.

This commit is contained in:
Christian Kamm
2010-03-08 21:39:20 +01:00
parent ef066d42c0
commit 1d488da835
17 changed files with 347 additions and 80 deletions

View File

@@ -905,6 +905,7 @@ void Module::gensymfile()
int Module::needModuleInfo()
{
//printf("needModuleInfo() %s, %d, %d\n", toChars(), needmoduleinfo, global.params.cov);
return needmoduleinfo;
}
@@ -943,6 +944,13 @@ Dsymbol *Module::symtabInsert(Dsymbol *s)
return Package::symtabInsert(s);
}
void Module::clearCache()
{
for (int i = 0; i < amodules.dim; i++)
{ Module *m = (Module *)amodules.data[i];
m->searchCacheIdent = NULL;
}
}
/*******************************************
* Can't run semantic on s now, try again later.