Hi all!!
I was looking at the VMMaker sources and noticed that by default when
generating my vm, the interpreter and cogit files are generated with
different CodeGenerators:
CrossPlatformVMMaker>>createCodeGenerator
"Set up a CCodeGenerator for this VMMaker - A cross platform tree leaves it
up to the makefiles to decide whether to use the global struct or not."
^CCodeGeneratorGlobalStructure new initialize;
globalStructDefined: true;
structDefDefine: 'USE_GLOBAL_STRUCT';
logger: logger;
yourself
VMMaker>>createCogitCodeGenerator
^CCodeGenerator new initialize
logger: logger;
yourself
Why should they use different code generators? Shouldn't they by default
use the same?
Tx,
Guille