private bool Compile(List<AssociativeNode> astList, Core targetCore, out int blockId) { bool succeeded = runner.Compile(astList, targetCore, out blockId); if (succeeded) { // Regenerate the DS executable targetCore.GenerateExecutable(); // Update the symbol tables // TODO Jun: Expand to accomoadate the list of symbols staticContext.symbolTable = targetCore.DSExecutable.runtimeSymbols[0]; } return succeeded; }
private bool Compile(List<AssociativeNode> astList, Core targetCore, out int blockId) { // The ASTs have already been transformed to SSA //runnerCore.Options.GenerateSSA = false; bool succeeded = runner.Compile(astList, targetCore, out blockId); if (succeeded) { // Regenerate the DS executable targetCore.GenerateExecutable(); // Update the symbol tables // TODO Jun: Expand to accomoadate the list of symbols staticContext.symbolTable = targetCore.DSExecutable.runtimeSymbols[0]; } return succeeded; }