Hi all!!<div><br></div><div>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:</div><div><br></div><div><div>
<div>CrossPlatformVMMaker>>createCodeGenerator</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>"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."</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>^CCodeGeneratorGlobalStructure new initialize;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>globalStructDefined: true;</div><div>
<span class="Apple-tab-span" style="white-space:pre">                </span>structDefDefine: 'USE_GLOBAL_STRUCT';</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>logger: logger;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>yourself</div>
</div></div><div><br></div><div><div>VMMaker>>createCogitCodeGenerator</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>^CCodeGenerator new initialize</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>logger: logger;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>yourself</div></div><div><br></div><div><br></div><div>Why should they use different code generators? Shouldn't they by default use the same?</div><div>
<br></div><div>Tx,</div><div>Guille</div>