[fpc-devel] NoGlobals branch

Hans-Peter Diettrich DrDiettrich1 at aol.com
Wed Sep 1 01:54:22 CEST 2010


Jonas Maebe schrieb:

> ppudump probably does not depend on cpubase in trunk. cpubase is part
> of the code generator, and therefore the ppu loading should in fact
> not depend on it (directly nor indirectly).

That looks like the right explanation.

Consequently the code generation has to be separated strictly from the 
remaining code, according (global) references can not reside in other 
commonly used classes. This (currently) is not the case in a threadable 
compiler, where FModule.TModule contains *all* references to related 
objects.

DoDi




More information about the fpc-devel mailing list