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&gt;&gt;createCodeGenerator</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&quot;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.&quot;</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: &#39;USE_GLOBAL_STRUCT&#39;;</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&gt;&gt;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&#39;t they by default use the same?</div><div>
<br></div><div>Tx,</div><div>Guille</div>